改写delete时会报错
async onDelete(info) { let res = await this.$Http.delContact( { id: info.id } ) if(res.code == 200) { this.getList(); Toast("删除成功") this.showEdit = false; } }
async onDelete(info) { let res = await this.$Http.delContact( { id: info.id } ) if(res.code == 200) { this.getList(); Toast("删除成功") this.showEdit = false; } }
2020-10-21
举报