修正用户名显示逻辑进入服务列表页面自动刷新

This commit is contained in:
zhonghua.li
2026-04-17 08:12:56 +08:00
parent d74bc2ad1f
commit 18455a311d
14 changed files with 132 additions and 72 deletions

View File

@@ -72,6 +72,13 @@ export default {
switchTabWithQuery(basePath, tab) {
if (basePath === '/pages/furniture_reception/furniture_reception') {
uni.setStorageSync('workbench-reception-tab', tab);
uni.navigateTo({
url: basePath,
fail: () => {
uni.showToast({ title: '跳转接待页失败', icon: 'none' });
},
});
return;
}
uni.switchTab({
url: basePath,