mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +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
|
||||
nextTick(() => {
|
||||
this.title = options.title
|
||||
this.headerComponent = markRaw(options.headerComponent)
|
||||
this.headerComponent = options.headerComponent
|
||||
? markRaw(options.headerComponent)
|
||||
: null
|
||||
this.component = markRaw(options.component)
|
||||
this.props = options.props || {}
|
||||
this.dialogComponentProps = options.dialogComponentProps || {}
|
||||
|
||||
Reference in New Issue
Block a user