chore: use async avoid block other onUiLoaded cb
parent
f00a3f56ba
commit
b4e04c853f
|
|
@ -7,7 +7,7 @@ import CommonMixin from "@/mixins/commonMixin"
|
||||||
import common from "@/utils/common"
|
import common from "@/utils/common"
|
||||||
import tippy from "tippy.js"
|
import tippy from "tippy.js"
|
||||||
|
|
||||||
onUiLoaded(() => {
|
onUiLoaded(async () => {
|
||||||
const div = document.createElement('div')
|
const div = document.createElement('div')
|
||||||
div.id = 'physton-prompt-all-in-one'
|
div.id = 'physton-prompt-all-in-one'
|
||||||
common.gradioApp().appendChild(div)
|
common.gradioApp().appendChild(div)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue