代码规范性调整

This commit is contained in:
蒋吉兆
2021-09-21 17:55:18 +08:00
parent 51e26a00a4
commit 2c06ca34c0
19 changed files with 32 additions and 33 deletions

View File

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