Commit b6cd064d by 张立顺

修复超管用户切换图标丢失问题

1 parent 35dd7bc7
// 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()
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!