fix: 隐藏无用菜单,设置菜单图标
This commit is contained in:
parent
9bb9f15651
commit
b3d0c8eac1
|
@ -10,7 +10,7 @@ export default {
|
||||||
url: 'operation-management/permission',
|
url: 'operation-management/permission',
|
||||||
perms: 'operation-management:permission',
|
perms: 'operation-management:permission',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-lock',
|
elIcon: 'el-icon-setting',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -50,7 +50,7 @@ export default {
|
||||||
url: 'operation-management/order/index',
|
url: 'operation-management/order/index',
|
||||||
perms: 'operation-management:order:index',
|
perms: 'operation-management:order:index',
|
||||||
type: 1,
|
type: 1,
|
||||||
elIcon: 'el-icon-menu',
|
elIcon: 'el-icon-tickets',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: []
|
list: []
|
||||||
|
@ -63,7 +63,7 @@ export default {
|
||||||
url: 'operation-management/commodity/index',
|
url: 'operation-management/commodity/index',
|
||||||
perms: 'operation-management:commodity:index',
|
perms: 'operation-management:commodity:index',
|
||||||
type: 1,
|
type: 1,
|
||||||
elIcon: 'el-icon-menu',
|
elIcon: 'el-icon-goods',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: []
|
list: []
|
||||||
|
@ -76,7 +76,7 @@ export default {
|
||||||
url: 'datacenter',
|
url: 'datacenter',
|
||||||
perms: 'datacenter',
|
perms: 'datacenter',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-tickets',
|
elIcon: 'el-icon-s-data',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -129,7 +129,7 @@ export default {
|
||||||
url: 'content-management',
|
url: 'content-management',
|
||||||
perms: 'content-management',
|
perms: 'content-management',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-s-help',
|
elIcon: 'el-icon-document',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -232,7 +232,7 @@ export default {
|
||||||
url: 'operation-management',
|
url: 'operation-management',
|
||||||
perms: 'operation-management',
|
perms: 'operation-management',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-s-help',
|
elIcon: 'el-icon-s-shop',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -379,7 +379,7 @@ export default {
|
||||||
url: 'brand',
|
url: 'brand',
|
||||||
perms: 'brand',
|
perms: 'brand',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-money',
|
elIcon: 'el-icon-medal',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -406,7 +406,7 @@ export default {
|
||||||
url: 'coupon/index',
|
url: 'coupon/index',
|
||||||
perms: 'coupon:index',
|
perms: 'coupon:index',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-document-remove',
|
elIcon: 'el-icon-present',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: []
|
list: []
|
||||||
|
@ -419,7 +419,7 @@ export default {
|
||||||
url: 'presale',
|
url: 'presale',
|
||||||
perms: 'presale',
|
perms: 'presale',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-data-analysis',
|
elIcon: 'el-icon-alarm-clock',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -473,7 +473,7 @@ export default {
|
||||||
url: 'marketing',
|
url: 'marketing',
|
||||||
perms: 'marketing',
|
perms: 'marketing',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-tickets',
|
elIcon: 'el-icon-user',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -620,7 +620,7 @@ export default {
|
||||||
url: 'local-course/resources',
|
url: 'local-course/resources',
|
||||||
perms: 'wallet',
|
perms: 'wallet',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-menu',
|
elIcon: 'el-icon-wallet',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -647,7 +647,7 @@ export default {
|
||||||
url: 'ogistics-fare',
|
url: 'ogistics-fare',
|
||||||
perms: 'ogistics-fare',
|
perms: 'ogistics-fare',
|
||||||
type: 0,
|
type: 0,
|
||||||
elIcon: 'el-icon-money',
|
elIcon: 'el-icon-truck',
|
||||||
orderNum: 0,
|
orderNum: 0,
|
||||||
open: null,
|
open: null,
|
||||||
list: [
|
list: [
|
||||||
|
@ -723,4 +723,4 @@ export default {
|
||||||
],
|
],
|
||||||
code: 0,
|
code: 0,
|
||||||
permissions: []
|
permissions: []
|
||||||
}
|
}
|
|
@ -44,14 +44,13 @@
|
||||||
</el-badge>
|
</el-badge>
|
||||||
</template>
|
</template>
|
||||||
</el-menu-item> -->
|
</el-menu-item> -->
|
||||||
<el-menu-item index="1" @click="$router.push({ name: 'theme' })">
|
<!-- <el-menu-item index="1" @click="$router.push({ name: 'theme' })"> -->
|
||||||
<template slot="title">
|
<!-- <template slot="title"> -->
|
||||||
<!-- 暂时不要右上角的图标 -->
|
<!-- <el-badge value=""> -->
|
||||||
<el-badge value="">
|
<!-- <icon-svg name="shezhi" class="el-icon-setting"></icon-svg> -->
|
||||||
<icon-svg name="shezhi" class="el-icon-setting"></icon-svg>
|
<!-- </el-badge> -->
|
||||||
</el-badge>
|
<!-- </template> -->
|
||||||
</template>
|
<!-- </el-menu-item> -->
|
||||||
</el-menu-item>
|
|
||||||
<el-menu-item index="2" @click="fullscreen">
|
<el-menu-item index="2" @click="fullscreen">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<!-- 暂时不要右上角的图标 -->
|
<!-- 暂时不要右上角的图标 -->
|
||||||
|
|
Loading…
Reference in New Issue