fix: 删除确认弹框messageBox的类名修改
This commit is contained in:
@@ -37,8 +37,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//单个删除弹框messageBox的底部按钮样式。应用场景:administration下顶部工具栏的删除按钮
|
//删除确认弹框messageBox的底部按钮样式。应用场景:administration下顶部工具栏的删除按钮
|
||||||
.single-del-model {
|
.del-model-message-box {
|
||||||
.el-message-box__btns {
|
.el-message-box__btns {
|
||||||
.el-button:nth-child(1) {
|
.el-button:nth-child(1) {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
|||||||
@@ -649,7 +649,7 @@ export default {
|
|||||||
this.$confirm(this.$t('tip.confirmDelete'), {
|
this.$confirm(this.$t('tip.confirmDelete'), {
|
||||||
confirmButtonText: this.$t('tip.yes'),
|
confirmButtonText: this.$t('tip.yes'),
|
||||||
cancelButtonText: this.$t('tip.no'),
|
cancelButtonText: this.$t('tip.no'),
|
||||||
customClass: 'single-del-model',
|
customClass: 'del-model-message-box',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
axios.delete(api.reportJob + '?ids=' + row.id).then(response => {
|
axios.delete(api.reportJob + '?ids=' + row.id).then(response => {
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ export default {
|
|||||||
this.$confirm(this.$t('tip.confirmDelete'), {
|
this.$confirm(this.$t('tip.confirmDelete'), {
|
||||||
confirmButtonText: this.$t('tip.yes'),
|
confirmButtonText: this.$t('tip.yes'),
|
||||||
cancelButtonText: this.$t('tip.no'),
|
cancelButtonText: this.$t('tip.no'),
|
||||||
customClass: 'single-del-model',
|
customClass: 'del-model-message-box',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.toggleLoading(true)
|
this.toggleLoading(true)
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ export default {
|
|||||||
this.$confirm(this.$t('tip.confirmDelete'), {
|
this.$confirm(this.$t('tip.confirmDelete'), {
|
||||||
confirmButtonText: this.$t('tip.yes'),
|
confirmButtonText: this.$t('tip.yes'),
|
||||||
cancelButtonText: this.$t('tip.no'),
|
cancelButtonText: this.$t('tip.no'),
|
||||||
customClass: 'single-del-model',
|
customClass: 'del-model-message-box',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.toggleLoading(true)
|
this.toggleLoading(true)
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ export default {
|
|||||||
this.$confirm(this.$t('tip.confirmDelete'), {
|
this.$confirm(this.$t('tip.confirmDelete'), {
|
||||||
confirmButtonText: this.$t('tip.yes'),
|
confirmButtonText: this.$t('tip.yes'),
|
||||||
cancelButtonText: this.$t('tip.no'),
|
cancelButtonText: this.$t('tip.no'),
|
||||||
customClass: 'single-del-model',
|
customClass: 'del-model-message-box',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.toggleLoading(true)
|
this.toggleLoading(true)
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ export default {
|
|||||||
this.$confirm(this.$t('tip.confirmDelete'), {
|
this.$confirm(this.$t('tip.confirmDelete'), {
|
||||||
confirmButtonText: this.$t('tip.yes'),
|
confirmButtonText: this.$t('tip.yes'),
|
||||||
cancelButtonText: this.$t('tip.no'),
|
cancelButtonText: this.$t('tip.no'),
|
||||||
customClass: 'single-del-model',
|
customClass: 'del-model-message-box',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.toggleLoading(true)
|
this.toggleLoading(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user