This commit is contained in:
zmj 2024-06-25 18:24:35 +08:00
parent a0d5fef974
commit 183f272098
3 changed files with 11 additions and 5 deletions

View File

@ -520,8 +520,10 @@
tabsList.forEach(item => {
item.name = '请选择'
})
getLists()
getCount()
setTimeout(() => {
getLists()
getCount()
}, 500); // 1
}
});
}

View File

@ -310,9 +310,11 @@
for (let key in data) {
STORE_INFO[key] = data[key]
}
getgoodClassList(0);
getGoodList();
})
}
getStoreInfoFn()
//
@ -682,8 +684,9 @@
uni.setStorageSync('SHARE_INFO', shareInfo.value);
}
}
getgoodClassList(0);
getGoodList();
getStoreInfoFn()
// #ifndef H5
//
btns.value = uni.getMenuButtonBoundingClientRect();

View File

@ -211,6 +211,7 @@
}).then(res => {
// token
userStore.setUserInfo(res.data);
userStore.setToken(res.data.token);
//
if (res.is_staff == 1) {
userStore.setUserInfo(res.data);