Fix prop defaults without withDefaults

This commit is contained in:
MatthieuTD
2025-09-30 11:16:55 +02:00
parent fcab426f8a
commit 9a55e29b74

View File

@@ -116,7 +116,7 @@ import { computed } from 'vue'
defineOptions({ name: 'SkeletonComponentNodeSelector' })
const props = withDefaults(defineProps({
const props = defineProps({
node: {
type: Object,
required: true,
@@ -145,11 +145,6 @@ const props = withDefaults(defineProps({
type: Boolean,
default: true,
},
}), {
depth: 0,
loadingComponentModels: false,
loadingPieceModels: false,
showSelfSelector: true,
})
const emit = defineEmits(['component-model-change', 'piece-model-change'])