fix : 修复popover删除组件按钮显示问题
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user