mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Fix dialog header component error (#1221)
This commit is contained in:
@@ -41,7 +41,9 @@ export const useDialogStore = defineStore('dialog', {
|
|||||||
this.isVisible = true
|
this.isVisible = true
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
this.title = options.title
|
this.title = options.title
|
||||||
this.headerComponent = markRaw(options.headerComponent)
|
this.headerComponent = options.headerComponent
|
||||||
|
? markRaw(options.headerComponent)
|
||||||
|
: null
|
||||||
this.component = markRaw(options.component)
|
this.component = markRaw(options.component)
|
||||||
this.props = options.props || {}
|
this.props = options.props || {}
|
||||||
this.dialogComponentProps = options.dialogComponentProps || {}
|
this.dialogComponentProps = options.dialogComponentProps || {}
|
||||||
|
|||||||
Reference in New Issue
Block a user