src/components/layouts/TabLayout.vue
@@ -14,7 +14,7 @@
      @change="changePage"
      @tabClick="tabCallBack"
      @edit="editPage">
      <a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList" :closable="!(page.meta.title=='首页')">
      <a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList" :closable="!(page.meta.title=='设备监控')">
        <span slot="tab" :pagekey="page.fullPath">{{ page.meta.title }}</span>
      </a-tab-pane>
    </a-tabs>
@@ -43,7 +43,7 @@
  import { CACHE_INCLUDED_ROUTES } from '@/store/mutation-types'
  import registerApps from "@/qiankun";
  const indexKey = '/dashboard/analysis'
  const indexKey = '/mdc/base/DeviceBaseInfo'
  export default {
    name: 'TabLayout',
@@ -165,12 +165,12 @@
      // 将首页添加到第一位
      addIndexToFirst() {
        this.pageList.splice(0, 0, {
          name: 'dashboard-analysis',
          name: 'mdc-base-DeviceBaseInfo',
          path: indexKey,
          fullPath: indexKey,
          meta: {
            icon: 'dashboard',
            title: '首页'
            icon: '',
            title: '设备监控'
          }
        })
        this.linkList.splice(0, 0, indexKey)
@@ -183,7 +183,7 @@
       * @param title 要修改的新标题
       */
      changeTitle(title) {
        let projectTitle = "Jeecg-Boot 企业级低代码平台"
        let projectTitle = "中国一拖管理系统"
        // 首页特殊处理
        if (this.$route.path === indexKey) {
          document.title = projectTitle