Fix prop defaults without withDefaults
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user