From 6450d783e8c8db521977863b86bf3bc3ba0e38f9 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 七月 2026 16:26:04 +0800
Subject: [PATCH] 维护
---
stores/user.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/stores/user.js b/stores/user.js
index 7a54827..ed04f1d 100644
--- a/stores/user.js
+++ b/stores/user.js
@@ -7,9 +7,10 @@
const userInfo = ref(null);
const roleKeyInfo = ref(null);
// const baseUrlHt = ref(window.location.origin+'/api');
- // const baseUrlHt = ref('http://www.qdopo.com:9095');
+ const baseUrlHt = ref('http://www.qdopo.com:9095');
// const baseUrlHt = ref("http://192.168.100.10:8080");
- const baseUrlHt = ref("https://opo.qduh.cn:443");
+ // const baseUrlHt = ref("http://localhost:8080");
+ // const baseUrlHt = ref("https://opo.qduh.cn:443");
// getters
const isLoggedIn = computed(() => !!token.value);
@@ -30,7 +31,7 @@
uni.setStorageSync("userInfo", info);
}
function setroleKey(roleKey) {
- // 鏇寸伒娲荤殑瑙掕壊鏉冮檺鏄犲皠
+ // 鏇寸伒娲荤殑瑙掕壊鏉冮檺鏄犲皠2
if (ADMIN_ROLES.includes(roleKey)) {
roleKeyInfo.value = 1; // 绠$悊鍛樻潈闄�
} else if (DOCTOR_ROLES.includes(roleKey)) {
--
Gitblit v1.9.3