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 b6cd064d
authored
Jan 13, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复超管用户切换图标丢失问题
1 parent
35dd7bc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
pages/tab/output/output.js
pages/tab/output/output.js
View file @
b6cd064
// pages/tab/output/output.js
// pages/tab/output/output.js
import
{
getSessionId
,
setSessionId
}
from
'~/utils/cache/storageApi'
import
{
getSessionId
,
setSessionId
}
from
'~/utils/cache/storageApi'
import
USERAPI
from
'~/api/usersApi/index'
import
USERAPI
from
'~/api/usersApi/index'
import
{
IMG_URL
}
from
'~/utils/constantData'
Page
({
Page
({
/**
/**
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
IMG_URL
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
loginType
:
0
,
loginType
:
0
,
agree
:
true
,
agree
:
true
,
...
@@ -110,7 +112,7 @@ Page({
...
@@ -110,7 +112,7 @@ Page({
onRoute
(
options
)
{
onRoute
(
options
)
{
if
(
!
options
||
wx
.
$util
.
isEmptyObj
(
options
))
return
if
(
!
options
||
wx
.
$util
.
isEmptyObj
(
options
))
return
let
{
page
=
'client'
,
refresh
=
true
}
=
options
let
{
page
=
'client'
,
refresh
=
true
}
=
options
if
(
page
==
'client'
&&
refresh
)
{
if
(
page
==
'client'
&&
refresh
)
{
let
clientModule
=
this
.
selectComponent
(
'#client'
)
let
clientModule
=
this
.
selectComponent
(
'#client'
)
clientModule
.
getClientApi
&&
clientModule
.
clientRefresh
()
clientModule
.
getClientApi
&&
clientModule
.
clientRefresh
()
}
}
...
...
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