From d59a4643d01b0ba2d447b31f97d52e1ad526dbff Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Sat, 17 Sep 2022 22:25:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E5=9B=BD=E5=AE=B6=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E5=A4=87=E6=A1=88=E8=A6=81=E6=B1=82=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=A4=87=E6=A1=88=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.staging | 2 +- src/views/login.vue | 7 +++++-- vue.config.js | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) 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 // 端口