From 3d327bcfbcccc1e570ca6c6c9f689e9af2f77807 Mon Sep 17 00:00:00 2001 From: LJW Date: Thu, 7 Nov 2024 14:06:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=B3=BB=E7=BB=9F=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.staging | 2 +- package.json | 2 +- src/App.vue | 1 + src/layout/components/Sidebar/Logo.vue | 2 +- src/views/login.vue | 5 ++--- vue.config.js | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index 55d4f05..82472b6 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 工刀具库WMS +VUE_APP_TITLE = 工刀具库WMS(内部) # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index a7fdd40..e950261 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 工刀具库WMS +VUE_APP_TITLE = 工刀具库WMS(内部) # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 84da5c5..ceee7e1 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 工刀具库WMS +VUE_APP_TITLE = 工刀具库WMS(内部) NODE_ENV = production diff --git a/package.json b/package.json index 3549dbe..4810a9d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ktg-mes-ui", "version": "3.8.2", - "description": "工刀具库WMS", + "description": "工刀具库WMS(内部)", "author": "YinJinLu", "license": "MIT", "scripts": { diff --git a/src/App.vue b/src/App.vue index 391d951..c6aa3be 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,6 @@ diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 3530d4d..1bed9b9 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -37,7 +37,7 @@ export default { }, data() { return { - title: '工刀具库WMS', + title: '工刀具库WMS(内部)', logo: "" } } diff --git a/src/views/login.vue b/src/views/login.vue index b14d38b..3e01127 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,7 +1,7 @@ @@ -89,7 +88,7 @@ export default { }, loading: false, // 验证码开关 - captchaOnOff: true, + captchaOnOff: false, // 注册开关 register: false, redirect: undefined diff --git a/vue.config.js b/vue.config.js index 610e4e4..ae06fc1 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,9 +7,9 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '工刀具库WMS' // 网页标题 +const name = process.env.VUE_APP_TITLE || '工刀具库WMS(内部)' // 网页标题 -const port = process.env.port || process.env.npm_config_port || 80 // 端口 +const port = process.env.port || process.env.npm_config_port || 3000 // 端口 // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions