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 -->