bug修复
This commit is contained in:
parent
e50d222a02
commit
24ee4a48f5
@ -570,7 +570,10 @@ onLoad((options) => {
|
||||
fetchArchive();
|
||||
});
|
||||
|
||||
onShow(() => {
|
||||
onShow(async () => {
|
||||
// 每次进入用户详情页重新获取医生信息,及时同步管理端变更的权益权限。
|
||||
await getDoctorInfo();
|
||||
|
||||
const cached = uni.getStorageSync(STORAGE_KEY);
|
||||
const cachedId = cached && typeof cached === 'object' ? String(cached._id || cached.id || '') : '';
|
||||
if (cached && typeof cached === 'object' && (!cachedId || !archiveId.value || cachedId === archiveId.value)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user