diff --git a/.env.development b/.env.development index 302ecd1..68c39ef 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..40effa1 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..ddda0fb 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 214f51b..7fdd697 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.6", - "description": "若依管理系统", + "description": "消防维保后台", "author": "若依", "license": "MIT", "scripts": { diff --git a/public/favicon.ico b/public/favicon.ico index e263760..d3c5637 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 466cd98..ef8c25c 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -6,25 +6,6 @@
- -
diff --git a/src/store/modules/user.js b/src/store/modules/user.js index cdbab1e..68392e2 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -55,7 +55,7 @@ const user = { return new Promise((resolve, reject) => { getInfo().then(res => { const user = res.user - const avatar = (user.avatar == "" || user.avatar == null) ? require("@/assets/images/profile.jpg") : process.env.VUE_APP_BASE_API + user.avatar; + const avatar = (user.avatar == "" || user.avatar == null) ? require("@/assets/images/logo.jpg") : process.env.VUE_APP_BASE_API + user.avatar; if (res.roles && res.roles.length > 0) { // 验证返回的roles是否是一个非空数组 commit('SET_ROLES', res.roles) commit('SET_PERMISSIONS', res.permissions) diff --git a/vue.config.js b/vue.config.js index 57ba7bb..c93442d 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 // 端口