fix: 修复 computed 定义 isFull 的错误使用

This commit is contained in:
tnt group 2022-09-03 16:45:46 +08:00
parent 8b1c775178
commit 101a4ea27c

View File

@ -37,7 +37,9 @@ const props = defineProps({
hidden: {
request: false,
type: Array,
default: []
default() {
return []
}
},
// 使
narrow: {
@ -76,7 +78,7 @@ const btnList: {
icon: RemoveIcon
},
{
title: isFull ? '缩小' : '放大',
title: isFull.value ? '缩小' : '放大',
key: props.narrow ? 'fullResize' : 'resize',
icon: ResizeIcon
}