Forráskód Böngészése

调整首页出现统计字眼的错误

zhourj 2 hónapja
szülő
commit
754dc428c5

+ 2 - 2
src/components/jeecg/JEditableTable.vue

@@ -708,10 +708,10 @@
             <div v-if="dragSort" class="td td-ds" :style="style.tdLeft">
             </div>
             <div v-if="rowSelection" class="td td-cb" :style="style.tdLeft">
-              统计
+              首页
             </div>
             <div v-if="rowNumber" class="td td-num" :style="style.tdLeft">
-              <span v-if="!rowSelection">统计</span>
+              <span v-if="!rowSelection">首页</span>
             </div>
 
             <!-- 右侧动态生成td -->

+ 2 - 2
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>
@@ -168,7 +168,7 @@
           fullPath: indexKey,
           meta: {
             icon: 'dashboard',
-            title: '统计'
+            title: '首页'
           }
         })
         this.linkList.splice(0, 0, indexKey)

+ 1 - 1
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: '/tj/sjtjModules', meta: { title: '统计' } })
+      this.breadList.push({ name: 'dashboard-analysis', path: '/tj/sjtjModules', meta: { title: '首页' } })
 
       this.name = this.$route.name
       this.$route.matched.forEach((item) => {

+ 1 - 1
src/config/router.config.js

@@ -10,7 +10,7 @@ export const asyncRouterMap = [
     path: '/',
     name: 'dashboard',
     component: TabLayout,
-    meta: { title: '统计' },
+    meta: { title: '首页' },
     redirect: '/tj/sjtjModules',
     children: [
 

+ 1 - 1
src/utils/util.js

@@ -89,7 +89,7 @@ export function generateIndexRouter(data) {
     name: 'dashboard',
     //component: () => import('@/components/layouts/BasicLayout'),
     component: resolve => require(['@/components/layouts/TabLayout'], resolve),
-    meta: { title: '统计' },
+    meta: { title: '首页' },
     redirect: '/tj/sjtjModules',
     children: [
       ...generateChildRouters(data)