|
@@ -60,12 +60,14 @@
|
|
|
<template slot="title">{{item.content}}</template>
|
|
|
<el-menu-item :index="`${child.keyPath}`" v-for="child of item.children"
|
|
|
:key="child.keyPath">
|
|
|
- <mtaLink :path="child.keyPath" :instation="true" :content="child.content"></mtaLink>
|
|
|
+ <mtaLink :path="child.keyPath" :instation="false" :content="child.content" v-if="child.hrefFlag"></mtaLink>
|
|
|
+ <mtaLink :path="child.keyPath" :instation="true" :content="child.content" v-else></mtaLink>
|
|
|
</el-menu-item>
|
|
|
</el-submenu>
|
|
|
|
|
|
<el-menu-item :index="`${item.keyPath}`" v-else>
|
|
|
- <mtaLink :path="item.keyPath" :instation="true" :content="item.content"></mtaLink>
|
|
|
+ <mtaLink :path="item.keyPath" :instation="false" :content="item.content" v-if="item.hrefFlag"></mtaLink>
|
|
|
+ <mtaLink :path="item.keyPath" :instation="true" :content="item.content" v-else></mtaLink>
|
|
|
</el-menu-item>
|
|
|
</template>
|
|
|
</el-menu>
|
|
@@ -122,9 +124,10 @@
|
|
|
children: [],
|
|
|
},*/
|
|
|
{
|
|
|
- content: '城市合作商',
|
|
|
- keyPath: '/urbanPartners',
|
|
|
+ content: '课程资源',
|
|
|
+ keyPath: 'https://www.lliedu.com/c/mainPage',
|
|
|
children: [],
|
|
|
+ hrefFlag:true,
|
|
|
},
|
|
|
{
|
|
|
content: '课程开发',
|