修复首页个人信息不显示的bug

This commit is contained in:
weipengfei 2023-07-22 14:55:26 +08:00
parent cefbc4b3e4
commit 673c8d18c6
4 changed files with 14 additions and 4 deletions

View File

@ -206,6 +206,15 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}
,{
"path" : "manager/manager",
"style" :
{
"navigationBarTitleText": "片区经理",
"enablePullDownRefresh": false
}
} }
] ]
}], }],

View File

@ -41,8 +41,8 @@ import { Toast } from "../../libs/uniApi";
return { return {
current: 0, current: 0,
formData: { formData: {
account: 'admin123', account: '13333333333',
password: 'qq123456', password: 'm13333333333',
code: '', code: '',
terminal: 6, //6APP terminal: 6, //6APP
scene: 1 scene: 1

View File

@ -213,7 +213,8 @@ export const oaHomeData = [
}, },
{ {
text: '片区经理', text: '片区经理',
icon: prefix + 'oa/yzsq@2x.png' icon: prefix + 'oa/yzsq@2x.png',
url: '/subpkg/manager/manager'
}, },
{ {
text: '财务管理', text: '财务管理',

View File

@ -3,7 +3,7 @@ import { loginMobile } from '@/api/user.js'
import Routine from '@/libs/routine.js' import Routine from '@/libs/routine.js'
import Cache from '@/utils/cache'; import Cache from '@/utils/cache';
const state = { const state = {
userInfo: Cache.get('USER_INFO') || null, userInfo: JSON.parse(Cache.get('USER_INFO')||'{}') || null,
token: Cache.get("TOKEN") || null token: Cache.get("TOKEN") || null
}; };