Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 ef156d82
authored
Oct 20, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
2e627bbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
login/index/index.js
pages/tab/output/output.js
login/index/index.js
View file @
ef156d8
import
WxValidate
from
'../../utils/
W
xValidate'
import
WxValidate
from
'../../utils/
w
xValidate'
Page
({
Page
({
/**
/**
* 页面的初始数据
* 页面的初始数据
...
...
pages/tab/output/output.js
View file @
ef156d8
...
@@ -61,10 +61,13 @@ Page({
...
@@ -61,10 +61,13 @@ Page({
// let { detail } = e || null
// let { detail } = e || null
// console.log(detail)
// console.log(detail)
if
(
e
)
{
if
(
e
)
{
let
clientModule
=
this
.
selectAllComponents
(
'client'
)
this
.
init
()
let
merchantModule
=
this
.
selectAllComponents
(
'merchant'
)
let
clientModule
=
this
.
selectComponent
(
'#client'
)
clientModule
.
getClientApi
()
let
merchantModule
=
this
.
selectComponent
(
'#merchant'
)
merchantModule
.
init
()
// console.log('clientModule', clientModule)
// console.log()
clientModule
.
getClientApi
&&
clientModule
.
getClientApi
()
merchantModule
.
init
&&
merchantModule
.
init
()
}
}
let
{
isSuper
,
userInfo
}
=
this
.
data
let
{
isSuper
,
userInfo
}
=
this
.
data
// 判断是超管才需要切换账号
// 判断是超管才需要切换账号
...
...
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