mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 01:20:09 +00:00
[fix] Use Vue 3.5 destructuring syntax for props with defaults
Remove deprecated withDefaults usage in NodeConflictDialogContent.vue and use destructuring with default values instead
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -18098,4 +18098,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,9 +175,7 @@ interface Props {
|
||||
showAfterWhatsNew?: boolean
|
||||
}
|
||||
|
||||
const { showAfterWhatsNew } = withDefaults(defineProps<Props>(), {
|
||||
showAfterWhatsNew: false
|
||||
})
|
||||
const { showAfterWhatsNew = false } = defineProps<Props>()
|
||||
|
||||
const { t } = useI18n()
|
||||
const { conflictedPackages } = useConflictDetection()
|
||||
|
||||
Reference in New Issue
Block a user