mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-05 21:54:07 +08:00
fix: 使 Dialog 组件支持 Dialog 内部嵌套另一个 Dialog,需要使用 append-to-body 属性
This commit is contained in:
@@ -14,7 +14,7 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const getBindValue = computed(() => {
|
const getBindValue = computed(() => {
|
||||||
const delArr: string[] = ['fullscreen', 'title', 'maxHeight']
|
const delArr: string[] = ['fullscreen', 'title', 'maxHeight', 'appendToBody']
|
||||||
const attrs = useAttrs()
|
const attrs = useAttrs()
|
||||||
const obj = { ...attrs, ...props }
|
const obj = { ...attrs, ...props }
|
||||||
for (const key in obj) {
|
for (const key in obj) {
|
||||||
|
Reference in New Issue
Block a user