diff --git a/.env.development b/.env.development index 2257754..f2301ee 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 苦糖果MES +VUE_APP_TITLE = 苦糖果MES-软件开发记录 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index 8702b6b..93172c2 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 苦糖果MES +VUE_APP_TITLE = 苦糖果MES-软件开发记录 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 9142730..12ce6a0 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 苦糖果MES +VUE_APP_TITLE = 苦糖果MES-软件开发记录 NODE_ENV = production diff --git a/src/views/login.vue b/src/views/login.vue index d083914..627b3f2 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -55,8 +55,8 @@ -
@@ -108,6 +108,9 @@ export default { this.getCookie(); }, methods: { + toIPC(){ + window.open("https://beian.miit.gov.cn/","_blank"); + }, getCode() { getCodeImg().then(res => { this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff; diff --git a/vue.config.js b/vue.config.js index e2b22b7..48925ee 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '苦糖果MES' // 网页标题 +const name = process.env.VUE_APP_TITLE || '苦糖果MES-软件开发记录' // 网页标题 const port = process.env.port || process.env.npm_config_port || 80 // 端口