浏览代码

浏览器页签标题

master
张泽亮 2 周前
父节点
当前提交
c71eb56733
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. +1
    -1
      .env.development
  2. +1
    -1
      .env.production
  3. +1
    -1
      .env.staging
  4. +1
    -1
      src/layout/components/Sidebar/Logo.vue

+ 1
- 1
.env.development 查看文件

@@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 后台系统
VUE_APP_TITLE = 管理系统


# 开发环境配置 # 开发环境配置
ENV = 'development' ENV = 'development'


+ 1
- 1
.env.production 查看文件

@@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 后台系统
VUE_APP_TITLE = 管理系统


# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'


+ 1
- 1
.env.staging 查看文件

@@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 后台系统
VUE_APP_TITLE = 管理系统


BABEL_ENV = production BABEL_ENV = production




+ 1
- 1
src/layout/components/Sidebar/Logo.vue 查看文件

@@ -35,7 +35,7 @@ export default {
}, },
data() { data() {
return { return {
title: this.$store.getters.browserName == '' ? '后台系统' : this.$store.getters.browserName,
title: this.$store.getters.browserName == '' ? '管理系统' : this.$store.getters.browserName,
logo: this.$store.getters.globalLogo == '' ? logoImg : this.$store.getters.globalLogo, logo: this.$store.getters.globalLogo == '' ? logoImg : this.$store.getters.globalLogo,
} }
} }


正在加载...
取消
保存