fix : 修复popover删除组件按钮显示问题

This commit is contained in:
2024-10-11 14:27:00 +08:00
parent c34fb88311
commit c456c6f642

View File

@@ -9,8 +9,6 @@
@cancel="handleCancel"
>
<template #reference>
<!-- v-perm="perm"-->
<el-button :type="btnType" size="mini" :disabled="isDisabled" v-if="perm" v-perm="perm" :icon="btnIcon" :plain="isPlain" :link="link">
{{ btnText }}
</el-button>
@@ -49,7 +47,7 @@ const props = defineProps({
},
perm: {
type: Array,
default: ['']
default: null
},
isDisabled: {
type: Boolean,