From 7aac9f13588eb0c99151e31cbf29636d5e8537aa Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 29 Jul 2025 09:53:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=8F=90=E4=BA=A4=E5=8F=82=E6=95=B0=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将wxLogin.vue中的登录提交参数移除,与index.vue中的登录提交保持一致 将config.js中的环境配置从dev改为prod --- config.js | 2 +- pages/index/index.vue | 2 +- pages_order/auth/wxLogin.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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({