|
|
@@ -35,7 +35,9 @@
|
|
|
</v-list-item>
|
|
|
</router-link>
|
|
|
<v-divider />
|
|
|
+ <!-- TODO 具有特定角色才能查看 -->
|
|
|
<div v-if="CheckPower.checkPower(this.$store.state.user.userInfo) == 'admin'">
|
|
|
+ <!--<div v-if="CheckPower.checkPower(this.$store.state.user.userInfo) == 'user'">-->
|
|
|
<router-link v-for="item in adminList" :key="item.text" :to="item.link">
|
|
|
<v-list-item
|
|
|
link
|
|
|
@@ -131,10 +133,10 @@ export default {
|
|
|
drawer: true,
|
|
|
items: [
|
|
|
{ icon: 'mdi-application', text: '个人主页', link: '/studio' },
|
|
|
- { icon: 'mdi-filmstrip-box-multiple', text: '稿件列表', link: '/studio/list' },
|
|
|
+ { icon: 'mdi-filmstrip-box-multiple', text: '稿件列表', link: '/studio/post' },
|
|
|
{ icon: 'mdi-upload', text: '投稿', link: '/studio/upload' },
|
|
|
- { icon: 'mdi-database', text: '数据分析', link: '/studio/data' },
|
|
|
- { icon: 'mdi-account-multiple', text: '粉丝管理', link: '/studio/fans' },
|
|
|
+ /* { icon: 'mdi-database', text: '数据分析', link: '/studio/data' },
|
|
|
+ { icon: 'mdi-account-multiple', text: '粉丝管理', link: '/studio/fans' },*/
|
|
|
{ icon: 'mdi-cash-usd', text: '付费会员', link: '/vip' },
|
|
|
{ icon: 'mdi-wrench', text: '自定义频道', link: '/user/setting' }
|
|
|
],
|