fix: 删除确认弹框messageBox的类名修改

This commit is contained in:
刘洪洪
2024-04-12 16:53:49 +08:00
parent 858b85b023
commit 6bbf73bdc3
6 changed files with 7 additions and 7 deletions

View File

@@ -37,8 +37,8 @@
}
}
//单个删除弹框messageBox的底部按钮样式。应用场景administration下顶部工具栏的删除按钮
.single-del-model {
//删除确认弹框messageBox的底部按钮样式。应用场景administration下顶部工具栏的删除按钮
.del-model-message-box {
.el-message-box__btns {
.el-button:nth-child(1) {
width: 80px;

View File

@@ -649,7 +649,7 @@ export default {
this.$confirm(this.$t('tip.confirmDelete'), {
confirmButtonText: this.$t('tip.yes'),
cancelButtonText: this.$t('tip.no'),
customClass: 'single-del-model',
customClass: 'del-model-message-box',
type: 'warning'
}).then(() => {
axios.delete(api.reportJob + '?ids=' + row.id).then(response => {

View File

@@ -167,7 +167,7 @@ export default {
this.$confirm(this.$t('tip.confirmDelete'), {
confirmButtonText: this.$t('tip.yes'),
cancelButtonText: this.$t('tip.no'),
customClass: 'single-del-model',
customClass: 'del-model-message-box',
type: 'warning'
}).then(() => {
this.toggleLoading(true)

View File

@@ -296,7 +296,7 @@ export default {
this.$confirm(this.$t('tip.confirmDelete'), {
confirmButtonText: this.$t('tip.yes'),
cancelButtonText: this.$t('tip.no'),
customClass: 'single-del-model',
customClass: 'del-model-message-box',
type: 'warning'
}).then(() => {
this.toggleLoading(true)

View File

@@ -342,7 +342,7 @@ export default {
this.$confirm(this.$t('tip.confirmDelete'), {
confirmButtonText: this.$t('tip.yes'),
cancelButtonText: this.$t('tip.no'),
customClass: 'single-del-model',
customClass: 'del-model-message-box',
type: 'warning'
}).then(() => {
this.toggleLoading(true)

View File

@@ -186,7 +186,7 @@ export default {
this.$confirm(this.$t('tip.confirmDelete'), {
confirmButtonText: this.$t('tip.yes'),
cancelButtonText: this.$t('tip.no'),
customClass: 'single-del-model',
customClass: 'del-model-message-box',
type: 'warning'
}).then(() => {
this.toggleLoading(true)