导航条修复一下
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<section class="mainContent">
|
||||
<ai-nav-tab :routes="apps"/>
|
||||
<ai-nav-tab :routes="$apps"/>
|
||||
<div class="fill">
|
||||
<router-view v-bind="$attrs.commonAttrs"/>
|
||||
<ai-empty v-if="isHome">欢迎使用村微产品库</ai-empty>
|
||||
@@ -10,13 +10,11 @@
|
||||
|
||||
<script>
|
||||
import AiNavTab from "dui/packages/basic/AiNavTab";
|
||||
import {mapState} from "vuex"
|
||||
|
||||
export default {
|
||||
name: "mainContent",
|
||||
components: {AiNavTab},
|
||||
computed: {
|
||||
...mapState(['apps']),
|
||||
isHome: v => v.$route.path == '/',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user