mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 21:20:12 +00:00
Support async hooks in TreeExplorerNode (#888)
* Support async hooks in TreeExplorerNode * rebase * nit * Fix component test failure * Add edit vitest * Add more tests * Add component test
This commit is contained in:
@@ -60,7 +60,7 @@ watch(
|
||||
const start = 0
|
||||
const end = fileName.length
|
||||
const inputElement = inputRef.value.$el
|
||||
inputElement.setSelectionRange(start, end)
|
||||
inputElement.setSelectionRange?.(start, end)
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user