fix 81106
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ export default {
|
|||||||
// 批量删除
|
// 批量删除
|
||||||
batchDel () {
|
batchDel () {
|
||||||
if (this.selectedRowKeys.length <= 0) {
|
if (this.selectedRowKeys.length <= 0) {
|
||||||
this.$message.warning(this.$t('selectARecord'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
} else {
|
} else {
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
title: this.$t('confirmBatchDeletion'),
|
title: this.$t('confirmBatchDeletion'),
|
||||||
|
|||||||
+1
-1
@@ -161,7 +161,7 @@ export default {
|
|||||||
// 确定
|
// 确定
|
||||||
handleOk () {
|
handleOk () {
|
||||||
if (this.loading || !this.selectionRows.length) {
|
if (this.loading || !this.selectionRows.length) {
|
||||||
this.$message.warn(this.$t('selectARecord'))
|
this.$message.warn(this.$t('selectLeastOne'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 验证不能重复选择
|
// 验证不能重复选择
|
||||||
|
|||||||
+1
-1
@@ -137,7 +137,7 @@ export default {
|
|||||||
// 确定
|
// 确定
|
||||||
handleOk () {
|
handleOk () {
|
||||||
if (this.loading || !this.selectionRows.length) {
|
if (this.loading || !this.selectionRows.length) {
|
||||||
this.$message.warn(this.$t('selectARecord'))
|
this.$message.warn(this.$t('selectLeastOne'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const data = this.selectionRows.map(item => {
|
const data = this.selectionRows.map(item => {
|
||||||
|
|||||||
Reference in New Issue
Block a user