微信小程序发布试用版本

This commit is contained in:
zhonghua1
2026-01-31 21:10:40 +08:00
parent 4ebeec45bc
commit 80d6d46182
338 changed files with 5767 additions and 6091 deletions

View File

@@ -36,7 +36,7 @@
<script>
import mixin from '@/uni_modules/uni-id-pages/common/login-page.mixin.js';
import { mutations } from '@/uni_modules/uni-id-pages/common/store.js'
import { mutations } from '@/common/store.js'
import { getApiUrl } from '@/common/config.js'
export default {
mixins: [mixin],
@@ -194,10 +194,20 @@
duration: 800
})
// 登录成功后跳转到 tabBar 首页(接待页)
// 更新全局角色信息
try {
const app = getApp();
if (app && app.setGlobalRoleInfo) {
app.setGlobalRoleInfo();
}
} catch (e) {
console.warn('[Login] Failed to update global role info:', e);
}
// 登录成功后跳转到首页(接待页面)
setTimeout(() => {
uni.switchTab({
url: '/pages/reception/reception'
url: '/pages/furniture_reception/furniture_reception'
})
}, 300)
} catch (err) {