From ad685ebb7a5af63cd00d2da6d2e540dd8049ac93 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 18 四月 2025 16:15:26 +0800
Subject: [PATCH] 提交
---
h5/App.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index 960cc4d..8c4787c 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -11,13 +11,13 @@
},
methods: {
async init() {
- // if (!this.$store.state.userInfo) {
- // let res = await this.$u.api.login({ code: 'ShiXuHui' })
- // if (res.code === 200) {
- // this.$store.commit('setUserInfo', res.data)
- // }
- // }
- // return
+ if (!this.$store.state.userInfo) {
+ let res = await this.$u.api.login({ code: 'ShiXuHui' })
+ if (res.code === 200) {
+ this.$store.commit('setUserInfo', res.data)
+ }
+ }
+ return
let code = this.getQueryVariable('code')
if (code) {
if (!uni.getStorageSync('code')) {
@@ -40,7 +40,7 @@
})
} else if (value[0] == 1) {
uni.navigateTo({
- url: `/pages/workOrder_dca/workOrder_dca?id=${value[1]}`
+ url: `/pages/details_dca/details_dca?id=${value[1]}&isShow=true`
})
} else if (value[0] == 3) {
uni.navigateTo({
@@ -71,7 +71,7 @@
})
} else if (value[0] == 1) {
uni.navigateTo({
- url: `/pages/workOrder_dca/workOrder_dca?id=${value[1]}`
+ url: `/pages/details_dca/details_dca?id=${value[1]}&isShow=true`
})
} else if (value[0] == 3) {
uni.navigateTo({
--
Gitblit v1.9.3