| | |
| | | }, |
| | | 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 |
| | | // ShiXuHui GuoJiWenWu |
| | | if (!this.$store.state.userInfo) { |
| | | let res = await this.$u.api.login({ code: 'GuoJiWenWu' }) |
| | | if (res.code === 200) { |
| | | this.$store.commit('setUserInfo', res.data) |
| | | } |
| | | } |
| | | return |
| | | let code = this.getQueryVariable('code') |
| | | if (code) { |
| | | if (!uni.getStorageSync('code')) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | } else { |
| | | let loc_href = encodeURIComponent("https://dmtest.ahapp.net/lianhelihua_web/") |
| | | |