diff --git a/.env.development b/.env.development index bc5430f..846fb53 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 太仓资产管理系统 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index b4893b0..cd2ab4f 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,9 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 太仓资产管理系统 # 生产环境配置 ENV = 'production' # 若依管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +# VUE_APP_BASE_API = 'http://39.101.188.84:9115' +VUE_APP_BASE_API = 'http://20.1.0.164/api' diff --git a/.env.staging b/.env.staging index 361859f..67f246e 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 太仓资产管理系统 NODE_ENV = production diff --git a/package.json b/package.json index b92f288..81a3ed7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.8", - "description": "若依管理系统", + "description": "太仓资产管理系统", "author": "若依", "license": "MIT", "scripts": { diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index ecade49..3a65fed 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -101,7 +101,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = '/login'; }) }).catch(() => {}); }, diff --git a/src/router/index.js b/src/router/index.js index 6ac5b37..e0bd026 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -225,7 +225,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/utils/request.js b/src/utils/request.js index a7a9c08..c9f3c6b 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -87,7 +87,7 @@ service.interceptors.response.use(res => { MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { isRelogin.show = false; store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = '/login'; }) }).catch(() => { isRelogin.show = false; diff --git a/src/views/auditPages/assetsManagement/index.vue b/src/views/auditPages/assetsManagement/index.vue index 86547fa..b1aa72e 100644 --- a/src/views/auditPages/assetsManagement/index.vue +++ b/src/views/auditPages/assetsManagement/index.vue @@ -177,9 +177,9 @@