diff --git a/config.js b/config.js index 9d76a72..d08e8ce 100644 --- a/config.js +++ b/config.js @@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'dev' +const type = 'prod' // 环境配置 diff --git a/pages/index/index.vue b/pages/index/index.vue index bc86be6..5d001fa 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -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 diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue index 44c63f7..d597c80 100644 --- a/pages_order/auth/wxLogin.vue +++ b/pages_order/auth/wxLogin.vue @@ -70,7 +70,7 @@ icon:'none' }) } - this.$store.commit('login', true) + this.$store.commit('login') }, qux(){ uni.reLaunch({