Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-main
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7b8b0a3a
authored
Feb 24, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
test
1 parent
97c28f3d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/store/modules/app.js
src/views/common/accountList.vue
src/store/modules/app.js
View file @
7b8b0a3
...
@@ -138,6 +138,7 @@ const actions = {
...
@@ -138,6 +138,7 @@ const actions = {
},
},
navigation
({
dispatch
},
to
)
{
navigation
({
dispatch
},
to
)
{
let
{
redirect_uri
,
corpId
}
=
getParams
()
let
{
redirect_uri
,
corpId
}
=
getParams
()
removeStoreage
()
let
userInfo
=
util
.
getLocalStorage
(
'dj_scrm_userInfo'
)
let
userInfo
=
util
.
getLocalStorage
(
'dj_scrm_userInfo'
)
if
(
corpId
)
util
.
setLocalStorage
(
'dj_scrm_corpId'
,
{
corpId
})
if
(
corpId
)
util
.
setLocalStorage
(
'dj_scrm_corpId'
,
{
corpId
})
if
(
redirect_uri
)
util
.
setLocalStorage
(
'dj_scrm_redirect_uri'
,
redirect_uri
)
if
(
redirect_uri
)
util
.
setLocalStorage
(
'dj_scrm_redirect_uri'
,
redirect_uri
)
...
@@ -145,7 +146,6 @@ const actions = {
...
@@ -145,7 +146,6 @@ const actions = {
if
(
dj_scrm
&&
userInfo
)
{
if
(
dj_scrm
&&
userInfo
)
{
if
(
dj_scrm
.
corpId
!=
userInfo
.
entmicroId
)
{
if
(
dj_scrm
.
corpId
!=
userInfo
.
entmicroId
)
{
util
.
showLoading
()
util
.
showLoading
()
window
.
vm
.
testView
=
'清空了'
removeStoreage
()
removeStoreage
()
}
}
}
}
...
...
src/views/common/accountList.vue
View file @
7b8b0a3
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"title"
>
请选择登录商户号
{{
testView
}}
</div>
<div
class=
"title"
>
请选择登录商户号
</div>
<div
class=
"box"
>
<div
class=
"box"
>
<template
v-for=
"(item,index) in accountList"
>
<template
v-for=
"(item,index) in accountList"
>
<div
<div
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment