@@ -311,6 +311,10 @@ export default {
},
handleBatchDelAll () {
const _this = this
+ if (_this.dataSource.length == 0) {
+ _this.$message.warning('暂无可删除的已选产品!')
+ return
+ }
this.$confirm({
title: '提示',
content: '确认要删除全部已选产品吗?',