refactor: 模块管理增加开启和关闭我的工作台功能

--story=1006157 --user=刘瑞斌 【中欧基金】希望在系统设置里面的模块管理,把“我的工作台”模块新增一个开关,可以手动打开关闭 https://www.tapd.cn/55049933/s/1111454
This commit is contained in:
CaptainB 2022-03-01 11:29:04 +08:00 committed by shiziyuan9527
parent 5761547cf6
commit 58a688b0e5
2 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,10 @@
@select="handleSelect"
:key="menuKey"
router>
<el-menu-item index="/workstation" v-if="hasLicense()">
<el-menu-item index="/workstation" v-if="hasLicense() && check('workstation')">
{{ $t('commons.my_workstation') }}
</el-menu-item>
<el-menu-item v-else @click="clickPlanMenu">
<el-menu-item v-if="!hasLicense()" @click="clickPlanMenu">
{{ $t('commons.my_workstation') }}
</el-menu-item>
<el-menu-item index="/track" v-if="check('testTrack')" onselectstart="return false"

@ -1 +1 @@
Subproject commit e99b58ef6511288a8665a1baf427c1b799339f70
Subproject commit ba8901d589df3c15e76c5c40f59c22d4d6bed5c9