@@ -167,7 +167,7 @@
},
openBatch() {
if (this.$refs.crud.tableSelect.length <= 1 || this.$refs.crud.tableSelect.length > 10) {
- this.$message.error('选中表数量不合法,数量最多10个')
+ this.$message.error('选中表数量不合法,数量最少2个或最多为10个')
return false
}
let tableName = []
@@ -182,6 +182,8 @@
handleDown(this.formBatchData).then(() => {
done()
this.boxBatch = false
+ }).catch(()=>{
+ done()
})