Browse Source

fix: 修复登录状态提交参数不一致问题

将wxLogin.vue中的登录提交参数移除,与index.vue中的登录提交保持一致
将config.js中的环境配置从dev改为prod
master
前端-胡立永 19 hours ago
parent
commit
7aac9f1358
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      config.js
  2. +1
    -1
      pages/index/index.vue
  3. +1
    -1
      pages_order/auth/wxLogin.vue

+ 1
- 1
config.js View File

@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
const type = 'dev'
const type = 'prod'
// 环境配置


+ 1
- 1
pages/index/index.vue View File

@ -142,7 +142,7 @@
onLoad(query) {
if (query.shareId) {
uni.setStorageSync('shareId', query.shareId)
this.$store.commit('login')
this.$store.commit('login', true)
}
uni.$on('initConfig', (e) => {
this.config_other_job = e.config_other_job


+ 1
- 1
pages_order/auth/wxLogin.vue View File

@ -70,7 +70,7 @@
icon:'none'
})
}
this.$store.commit('login', true)
this.$store.commit('login')
},
qux(){
uni.reLaunch({


Loading…
Cancel
Save