src/views/flowmgr/backImport.vue
@@ -126,13 +126,12 @@ }, handleWarehouse() { if (this.selection.length == 0) { return this.$message.error("请选择数据") } // if (this.selection.length == 0) { // return this.$message.error("请选择数据") // } let selection = []; this.selection.forEach(item => { //selection.push(item.id); selection.push(item.fullPath); selection.push(item.id); }) this.loading = true; var obj = { @@ -155,7 +154,9 @@ } } ); ).finally(() => { this.loading = false; }); } }, };