From de5087b87aa28d6d3547ed39f79b766d46c0a14d Mon Sep 17 00:00:00 2001 From: wangqing <250543222@qq.com> Date: Sun, 30 May 2021 12:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BE=AE=E4=BF=A1=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 4 +- src/utils/constants.js | 2 +- src/views/account/login.vue | 94 +++++++++++++++------------- src/views/form/write/index.vue | 14 +++-- src/views/project/template/index.vue | 3 +- 6 files changed, 67 insertions(+), 54 deletions(-) diff --git a/.env.development b/.env.development index 494a9d1..d764f67 100644 --- a/.env.development +++ b/.env.development @@ -9,5 +9,5 @@ VUE_APP_CDN = OFF VUE_APP_DEBUG_TOOL = # 高德地图key VUE_APP_MAP_KEY = f2200337d0d08538e78729572749882d -# 微信功能开关 -VUE_APP_WX = true +# 微信功能开关 开启设置 ON,关闭设置 OFF +VUE_APP_WX = ON diff --git a/.env.production b/.env.production index 1f8dcb9..c414eda 100644 --- a/.env.production +++ b/.env.production @@ -9,5 +9,5 @@ VUE_APP_CDN = OFF VUE_APP_DEBUG_TOOL = # 高德地图key VUE_APP_MAP_KEY = f2200337d0d08538e78729572749882d -# 微信功能开关 -VUE_APP_WX = true +# 微信功能开关 开启设置 ON,关闭设置 OFF +VUE_APP_WX = ON diff --git a/src/utils/constants.js b/src/utils/constants.js index 9960159..8dc5cad 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -6,5 +6,5 @@ export default { passwordRegDesc: '密码最少为6位字符', userUploadUrl: `${process.env.VUE_APP_API_ROOT}/user/file/upload`, // 启用微信功能 - enableWx: process.env.VUE_APP_WX + enableWx: process.env.VUE_APP_WX == 'ON' } diff --git a/src/views/account/login.vue b/src/views/account/login.vue index 25e187d..726e55f 100644 --- a/src/views/account/login.vue +++ b/src/views/account/login.vue @@ -1,20 +1,20 @@