update src/components/Dialog/src/Dialog.vue.
解决了单独使用elementplus diaolog组件时,样式被篡改的问题 Signed-off-by: AKING <2734339436@qq.com>
This commit is contained in:
parent
5baccbd5bc
commit
cba35d698f
@ -67,6 +67,7 @@ const dialogStyle = computed(() => {
|
|||||||
lock-scroll
|
lock-scroll
|
||||||
draggable
|
draggable
|
||||||
top="0"
|
top="0"
|
||||||
|
class="com-dialog"
|
||||||
:show-close="false"
|
:show-close="false"
|
||||||
>
|
>
|
||||||
<template #header="{ close }">
|
<template #header="{ close }">
|
||||||
@ -107,6 +108,7 @@ const dialogStyle = computed(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.com-dialog {
|
||||||
.#{$elNamespace}-overlay-dialog {
|
.#{$elNamespace}-overlay-dialog {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -135,4 +137,5 @@ const dialogStyle = computed(() => {
|
|||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user