diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 86ba246..68eb0f0 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -7,7 +7,7 @@ - + @@ -48,7 +48,8 @@ const props = defineProps({ }, /* 显隐列信息(数组格式、对象格式) */ columns: { - type: [Array, Object] + type: [Array, Object], + default: () => ({}) }, /* 是否显示检索图标 */ search: {