|
@@ -384,7 +384,7 @@ export default {
|
|
|
const _this = this
|
|
|
let params = {}
|
|
|
if (type == 'batch') { // 批量添加
|
|
|
- if (this.rowSelectionInfo && this.rowSelectionInfo.selectedRows.length == 0) {
|
|
|
+ if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRows.length == 0)) {
|
|
|
this.$message.warning('请选择需要批量添加的选项值后再操作!')
|
|
|
return
|
|
|
}
|