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