From 68ba4279a87744bf770134dccab36256a0a036b1 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <pref_mail@163.com> Date: Sat, 3 Feb 2024 11:51:32 +0800 Subject: [PATCH 1/2] init --- public/index.html | 2 +- src/config/env.js | 2 +- src/config/website.js | 2 +- src/lang/zh.js | 4 ++-- vue.config.js | 16 +++------------- 5 files changed, 8 insertions(+), 18 deletions(-) diff --git a/public/index.html b/public/index.html index 9772b4e..c5cd5a8 100644 --- a/public/index.html +++ b/public/index.html @@ -33,7 +33,7 @@ <script src="<%= BASE_URL %>cdn/xlsx/FileSaver.min.js"></script> <script src="<%= BASE_URL %>cdn/xlsx/xlsx.full.min.js"></script> <link rel="icon" href="<%= BASE_URL %>favicon.png" /> - <title>四川省应急教育培训网络平台</title> + <title>货无忧培训教育系统</title> <style> html, body, diff --git a/src/config/env.js b/src/config/env.js index f05d6e3..290b150 100644 --- a/src/config/env.js +++ b/src/config/env.js @@ -7,7 +7,7 @@ const env = process.env if (env.NODE_ENV === 'development') { baseUrl = `http://nps.scqtkj.com:51490`; // 开发环境地址 } else if (env.NODE_ENV === 'production') { - baseUrl = ``; //生产环境地址 + baseUrl = `http://192.168.2.107:8081`; //生产环境地址 } else if (env.NODE_ENV === 'test') { baseUrl = ``; //测试环境地址 } diff --git a/src/config/website.js b/src/config/website.js index e50b554..b669131 100644 --- a/src/config/website.js +++ b/src/config/website.js @@ -13,7 +13,7 @@ export default { title: "saber", logo: "S", key: "saber", //配置主键,目前用于存储 - indexTitle: "四川省应急教育培训网络平台", + indexTitle: "货无忧培训教育系统", clientId: "saber", // 客户端id clientSecret: "saber_secret", // 客户端密钥 tenantMode: true, // 是否开启租户模式 diff --git a/src/lang/zh.js b/src/lang/zh.js index 7f7bcad..a3ccc75 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -1,5 +1,5 @@ export default { - title: "四川省应急教育培训网络平台", + title: "货无忧培训教育系统", logoutTip: "退出系统, 是否继续?", submitText: "确定", cancelText: "取消", @@ -78,7 +78,7 @@ export default { }, login: { title: "登录 ", - info: "四川省应急教育培训网络平台", + info: "货无忧培训教育系统", tenantId: "请输入租户ID", username: "请输入账号", password: "请输入密码", diff --git a/vue.config.js b/vue.config.js index 3a47c3c..ee81547 100644 --- a/vue.config.js +++ b/vue.config.js @@ -27,7 +27,7 @@ module.exports = { '/api': { // 本地服务接口地址 // target: 'http://nps.scqtkj.com:51490/', - target: 'http://192.168.2.14:8081/', + target: 'http://192.168.3.107:8081/', //target: 'http://10.10.10.11:8088/', //远程演示服务地址,可用于直接启动项目 //target: 'https://saber.bladex.vip/api', @@ -35,18 +35,8 @@ module.exports = { pathRewrite: { '^/api': '' } - }, - '/': { - // 本地服务接口地址 - target: 'http://nps.scqtkj.com:51490/', - //target: 'http://10.10.10.11:8088/', - //远程演示服务地址,可用于直接启动项目 - //target: 'https://saber.bladex.vip/api', - ws: true, - pathRewrite: { - '^/': '/' - } - }, + } + } } From 92f5fa490c95af23bdcd85ec3e9d41bb29bc0215 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <pref_mail@163.com> Date: Sat, 3 Feb 2024 11:53:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 751e961..caae598 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # sc-edu-training-manager -四川省应急教育培训网络平台 后台管理系统前端 \ No newline at end of file +货无忧培训系统 后台管理系统前端 \ No newline at end of file