From a06111c67cc0a68e43e626de7d109ec18bbf4803 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 2 Mar 2024 14:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 4 +-- libs/login.js | 4 +-- pages/payment/get_payment.vue | 62 +++++++++++++++++++------------- pages/users/login/login_copy.vue | 20 ++++++++--- 4 files changed, 57 insertions(+), 33 deletions(-) diff --git a/config/app.js b/config/app.js index aed86ed..5d52a61 100644 --- a/config/app.js +++ b/config/app.js @@ -12,8 +12,8 @@ let httpApiSix let wsApi // 在打包之前请检查当前环境是否正确 -// const env = 'dev'; // 开发 -const env = 'prod'; // 生产 +const env = 'dev'; // 开发 +// const env = 'prod'; // 生产 // const env = 'prew'; // 预上线 switch (env) { diff --git a/libs/login.js b/libs/login.js index 153c507..7da3eb9 100644 --- a/libs/login.js +++ b/libs/login.js @@ -47,8 +47,8 @@ export function toLogin(push, pathLogin) { } // #endif if (!pathLogin) - pathLogin = '/page/users/login/login_copy' - Cache.set('login_back_url', path); + pathLogin = '/page/users/login/login_copy'; + Cache.set('login_back_url', path); // #ifdef H5 if (isWeixin()) { auth.oAuth(); diff --git a/pages/payment/get_payment.vue b/pages/payment/get_payment.vue index a430780..e94019e 100644 --- a/pages/payment/get_payment.vue +++ b/pages/payment/get_payment.vue @@ -1,12 +1,11 @@