diff --git a/packages/nc-gui/components/general/NocoIcon.vue b/packages/nc-gui/components/general/NocoIcon.vue index 4cf83b214a..79e812abcc 100644 --- a/packages/nc-gui/components/general/NocoIcon.vue +++ b/packages/nc-gui/components/general/NocoIcon.vue @@ -6,7 +6,7 @@ interface Props { animate?: boolean } -const { size = 90, animate = false } = defineProps() +const { size, animate } = withDefaults(defineProps(), { size: 90, animate: false }) const ping = autoResetRef(false, 1000)