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