Restyle missing model warning dialog (#1354)

* Restyle missing model dialog

* nit

* nit

* nit

* nit
This commit is contained in:
Chenlei Hu
2024-10-29 09:26:02 -04:00
committed by GitHub
parent 739ebd3d04
commit 87517daf1f
3 changed files with 88 additions and 120 deletions

View File

@@ -46,10 +46,14 @@ const onUnmaximize = () => {
maximized.value = false
}
const contentProps = computed(() => ({
...dialogStore.props,
maximized: maximized.value
}))
const contentProps = computed(() =>
maximizable.value
? {
...dialogStore.props,
maximized: maximized.value
}
: dialogStore.props
)
const headerId = `dialog-${Math.random().toString(36).substr(2, 9)}`
</script>