fix: 修复几处 eslint 的报错

This commit is contained in:
tnt group
2022-09-01 17:41:10 +08:00
parent 7985db16f1
commit 1c0a923771
3 changed files with 6 additions and 4 deletions
@@ -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
}