From 5d1179bb45532d042c3a9711f56955efb436b114 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 19 八月 2025 09:30:15 +0800
Subject: [PATCH] 代码初始化
---
h5/App.vue | 4 +---
1 files changed, 1 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)
--
Gitblit v1.9.3