修复:生成表后无法回滚的bug
修复:api页面不能多删除的bug
This commit is contained in:
蒋吉兆
2021-11-04 22:20:02 +08:00
parent da3fddf6c4
commit c877102f26
3 changed files with 3 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ export default {
this.apis = val
},
async onDelete() {
const ids = this.apis.forEach(item => item.ID)
const ids = this.apis.map(item => item.ID)
const res = await deleteApisByIds({ ids })
if (res.code === 0) {
this.$message({