bug 79906

This commit is contained in:
赵霄
2023-12-26 10:39:30 +08:00
parent 3718e1efc0
commit 37364b498e
4 changed files with 16 additions and 0 deletions
@@ -97,6 +97,10 @@ export default {
},
// 删除
handleDelete () {
if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
@@ -144,6 +144,10 @@ export default {
},
// 删除
handleDelete () {
if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
@@ -119,6 +119,10 @@ export default {
},
// 删除
handleDelete () {
if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
@@ -131,6 +131,10 @@ export default {
},
// 删除
handleDelete () {
if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),