From 5d1179bb45532d042c3a9711f56955efb436b114 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 19 八月 2025 09:30:15 +0800
Subject: [PATCH] 代码初始化
---
h5/pages.json | 9 +++++++++
h5/App.vue | 4 +---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index 85703fe..bba739d 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -51,10 +51,8 @@
}
}
}
- } else if (uni.getStorageSync('code') !== code) {
-
+ } else if (uni.getStorageSync('code') !== code) {
uni.setStorageSync('code', code);
-
let res = await this.$u.api.login({ code: code })
if (res.code === 200) {
this.$store.commit('setUserInfo', res.data)
diff --git a/h5/pages.json b/h5/pages.json
index 970d179..a422de9 100644
--- a/h5/pages.json
+++ b/h5/pages.json
@@ -127,6 +127,15 @@
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#ffffff"
}
+ },
+ {
+ "path" : "pages/exception/exception",
+ "style" :
+ {
+ "navigationBarTitleText" : "鎻愮ず",
+ "navigationStyle": "custom",
+ "navigationBarBackgroundColor": "#ffffff"
+ }
}
],
"globalStyle": {
--
Gitblit v1.9.3