doum
2025-08-19 5d1179bb45532d042c3a9711f56955efb436b114
h5/App.vue
@@ -11,8 +11,9 @@
      },
      methods: {
         async init() {
            // ShiXuHui GuoJiWenWu
            if (!this.$store.state.userInfo) {
               let res = await this.$u.api.login({ code: 'ShiXuHui' })
               let res = await this.$u.api.login({ code: 'GuoJiWenWu' })
               if (res.code === 200) {
                  this.$store.commit('setUserInfo', res.data)
               }
@@ -50,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)
@@ -81,7 +80,7 @@
                        }
                     }
                  }
               } else {
                  let loc_href = encodeURIComponent("https://dmtest.ahapp.net/lianhelihua_web/")