mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
财务管理只有企业版才默认打开
This commit is contained in:
@@ -222,6 +222,7 @@ func (this *userMustAuth) modules(adminId int64) []maps.Map {
|
||||
"module": configloaders.AdminModuleCodeFinance,
|
||||
"name": "财务管理",
|
||||
"icon": "yen sign",
|
||||
"isOn": teaconst.IsPlus,
|
||||
},
|
||||
{
|
||||
"code": "admins",
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
<!-- 模块 -->
|
||||
<div v-for="module in teaModules">
|
||||
<a class="item" :href="Tea.url(module.code)" :class="{active:teaMenu == module.code && teaSubMenu.length == 0, separator:module.code.length == 0, expend: teaMenu == module.code}">
|
||||
<a class="item" :href="Tea.url(module.code)" :class="{active:teaMenu == module.code && teaSubMenu.length == 0, separator:module.code.length == 0, expend: teaMenu == module.code}" v-if="module.isOn !== false">
|
||||
<span v-if="module.code.length > 0">
|
||||
<i class="window restore outline icon" v-if="module.icon == null"></i>
|
||||
<i class="ui icon" v-if="module.icon != null" :class="module.icon"></i>
|
||||
|
||||
Reference in New Issue
Block a user