refactor(图表): 自定义区域删除确认框样式调整

This commit is contained in:
wisonic 2024-12-24 15:01:29 +08:00 committed by wisonic-s
parent 33a5c7186d
commit 00c4499ea8

View File

@ -436,7 +436,8 @@ const deleteCustomArea = data => {
confirmButtonType: 'danger',
customClass: 'area-delete-dialog',
autofocus: false,
confirmButtonText: t('common.delete')
confirmButtonText: t('common.delete'),
showClose: false
})
.then(async () => {
await deleteCustomGeoArea(data.id)
@ -554,7 +555,8 @@ const deleteCustomSubArea = async data => {
confirmButtonType: 'danger',
customClass: 'area-delete-dialog',
autofocus: false,
confirmButtonText: t('common.delete')
confirmButtonText: t('common.delete'),
showClose: false
})
.then(async () => {
await deleteCustomGeoSubArea(data.id)
@ -920,7 +922,7 @@ onBeforeMount(() => {
}
.area-delete-dialog {
padding: 10px;
padding: 24px;
.ed-message-box__header {
display: flex;
justify-content: space-between;