mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-11-12 14:27:49 +00:00
弹框样式调整
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
}
|
||||
}])
|
||||
//* ************搜索框**************//
|
||||
|
||||
Reference in New Issue
Block a user