|
@@ -15,7 +15,6 @@ Component({
|
|
|
//获取当前登录用户名
|
|
|
const that = this;
|
|
|
setTimeout(() => {
|
|
|
- // let data = getApp().globalData.account_list[wx.getStorageSync('userData').index];
|
|
|
let data = wx.getStorageSync('account_list')[[wx.getStorageSync('userData').index]]
|
|
|
let userName = '';
|
|
|
(data.fbrand != null && data.fbrand != undefined) ? userName = data.fbrand + '-': userName = data.fname + '-';
|
|
@@ -44,7 +43,7 @@ Component({
|
|
|
a1212() {
|
|
|
//跳转到选择账号
|
|
|
wx.navigateTo({
|
|
|
- url: '/pages/login/index?type=changeUser',
|
|
|
+ url: '/pages/login/index?type=changeUser&inherit=1',
|
|
|
})
|
|
|
}
|
|
|
}
|