fix: 资产详情标签加载权限控制

This commit is contained in:
Jiangjie.Bai
2022-03-17 15:12:24 +08:00
committed by Jiangjie.Bai
parent 3007849abb
commit 159e90f48c

View File

@@ -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>