From 55665046e3d38ec59b786807ab5706b043d594d9 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Sun, 24 Sep 2023 13:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++- .env.production | 2 +- src/router/index.js | 2 +- src/views/volunteer/integralConversion/index.vue | 13 +++++++------ vue.config.js | 4 ++-- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.env.development b/.env.development index 397fb47..671bd08 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,8 @@ ENV = 'development' # 若依管理系统/开发环境 # VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' -VUE_APP_BASE_API = 'http://192.168.0.108:9034' +# VUE_APP_BASE_API = 'http://192.168.0.108:9034' +VUE_APP_BASE_API = 'http://39.101.188.84:9034' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index b4893b0..52cfbc7 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,4 @@ VUE_APP_TITLE = 若依管理系统 ENV = 'production' # 若依管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = 'http://39.101.188.84:9034' diff --git a/src/router/index.js b/src/router/index.js index 71907b6..413233f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -177,7 +177,7 @@ Router.prototype.replace = function push(location) { } export default new Router({ - mode: 'history', // 去掉url中的# + // mode: 'history', // 去掉url中的# scrollBehavior: () => ({ y: 0 }), routes: constantRoutes }) diff --git a/src/views/volunteer/integralConversion/index.vue b/src/views/volunteer/integralConversion/index.vue index 9fd11ea..40cd86f 100644 --- a/src/views/volunteer/integralConversion/index.vue +++ b/src/views/volunteer/integralConversion/index.vue @@ -4,7 +4,7 @@ * @Author: JC9527 * @Date: 2023-09-18 10:08:30 * @LastEditors: JC9527 - * @LastEditTime: 2023-09-22 14:15:06 + * @LastEditTime: 2023-09-24 10:33:30 -->