Pārlūkot izejas kodu

我的任务优化

wyh 1 gadu atpakaļ
vecāks
revīzija
ba06cfd0fe

+ 2 - 2
itdmWeb/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>
@@ -170,7 +170,7 @@
           fullPath: indexKey,
           meta: {
             icon: 'dashboard',
-            title: '首页'
+            title: '我的任务'
           }
         })
         this.linkList.splice(0, 0, indexKey)

+ 1 - 1
itdmWeb/src/components/tools/Breadcrumb.vue

@@ -26,7 +26,7 @@ export default {
       console.log('this.$route.matched', this.$route.matched)
 
       this.breadList = []
-      this.breadList.push({ name: 'dashboard-analysis', path: '/dashboard/analysis', meta: { title: '首页' } })
+      this.breadList.push({ name: 'dashboard-analysis', path: '/dashboard/analysis', meta: { title: '我的任务' } })
 
       this.name = this.$route.name
       this.$route.matched.forEach((item) => {

+ 1 - 1
itdmWeb/src/utils/util.js

@@ -88,7 +88,7 @@ export function generateIndexRouter(data) {
     name: 'dashboard',
     //component: () => import('@/components/layouts/BasicLayout'),
     component: resolve => require(['@/components/layouts/TabLayout'], resolve),
-    meta: { title: '首页' },
+    meta: { title: '我的任务' },
     redirect: '/dashboard/analysis',
     children: [
       ...generateChildRouters(data)