Browse Source

fix(nc-gui): mount target in useDialog

pull/4031/head
braks 2 years ago
parent
commit
46fc99205f
  1. 2
      packages/nc-gui/composables/useDialog/index.ts

2
packages/nc-gui/composables/useDialog/index.ts

@ -90,7 +90,7 @@ export function useDialog(
setTimeout(() => {
try {
;(mountTarget as HTMLElement)?.removeChild(domNode)
;(_mountTarget as HTMLElement)?.removeChild(domNode)
} catch (e) {}
}, 100)

Loading…
Cancel
Save