From e1b996bffa8bfac50e40b872ad162e67a76d0253 Mon Sep 17 00:00:00 2001 From: hbr <1991483710@qq.com> Date: Mon, 27 May 2024 18:38:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BC=81=E4=B8=9A=E6=B3=A8=E5=85=A5?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E7=99=BB=E5=BD=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= 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/utils/request.js | 1 - vue.config.js | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 302ecd1..f5a56a6 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..b8eac04 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 业务平台 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 361859f..4e61331 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 f6c4a64..6c4ee7a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zhiLian", "version": "3.6.3", - "description": "若依管理系统", + "description": "业务平台", "author": "若依", "license": "MIT", "scripts": { diff --git a/src/utils/request.js b/src/utils/request.js index ee04abf..7e8b612 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -73,7 +73,6 @@ service.interceptors.request.use(config => { // 响应拦截器 service.interceptors.response.use(res => { - debugger // 未设置状态码则默认成功状态 const code = res.data.code || 200; // 获取错误信息 diff --git a/vue.config.js b/vue.config.js index 70047ab..3691f05 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 || '若依管理系统' // 网页标题 +const name = process.env.VUE_APP_TITLE || '业务平台' // 网页标题 const port = process.env.port || process.env.npm_config_port || 80 // 端口