弹框样式调整

This commit is contained in:
Gary Fu
2024-06-30 17:40:51 +08:00
parent cbc35bc56f
commit b6badc9dbb
2 changed files with 16 additions and 1 deletions

View File

@@ -392,6 +392,16 @@ html, body, #app, .index-container {
margin-right: 4px;
}
.common-message-alert .el-message-box__btns,
.common-message-confirm .el-message-box__btns {
justify-content: center;
flex-direction: row-reverse;
}
.common-message-confirm .el-message-box__btns .el-button+.el-button{
margin-right: 12px;
}
.flex-grow2 {
flex-grow: 2;
}

View File

@@ -3,6 +3,8 @@ import { computed, onMounted, ref } from 'vue'
import { useDefaultPage } from '@/config'
import { useRouter } from 'vue-router'
import { searchMenusResult } from '@/services/menu/MenuService'
import { $coreConfirm } from '@/utils'
import { $i18nBundle } from '@/messages'
const router = useRouter()
@@ -62,7 +64,10 @@ const buttons = ref([{
labelKey: 'common.label.delete',
type: 'danger',
click: item => {
$coreConfirm($i18nBundle('common.msg.commonDeleteConfirm', [item.nameCn]))
.then(() => {
console.info('删除=============', item)
})
}
}])
//* ************搜索框**************//