mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-15 23:01:11 +00:00
fix: 资产详情标签加载权限控制
This commit is contained in:
committed by
Jiangjie.Bai
parent
3007849abb
commit
159e90f48c
@@ -6,7 +6,7 @@
|
||||
<el-col :span="10">
|
||||
<QuickActions type="primary" :actions="quickActions" />
|
||||
<RelationCard ref="NodeRelation" v-perms="'assets.change_asset'" type="info" style="margin-top: 15px" v-bind="nodeRelationConfig" />
|
||||
<LabelCard v-perms="'assets.view_label'" type="warning" style="margin-top: 15px" v-bind="labelConfig" />
|
||||
<LabelCard v-if="$hasPerm('assets.view_label')" type="warning" style="margin-top: 15px" v-bind="labelConfig" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user