mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +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
|
showAfterWhatsNew?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
const { showAfterWhatsNew } = withDefaults(defineProps<Props>(), {
|
const { showAfterWhatsNew = false } = defineProps<Props>()
|
||||||
showAfterWhatsNew: false
|
|
||||||
})
|
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const { conflictedPackages } = useConflictDetection()
|
const { conflictedPackages } = useConflictDetection()
|
||||||
|
|||||||
Reference in New Issue
Block a user