修改返回处理

This commit is contained in:
2022-07-05 17:37:00 +08:00
parent c94bd6df55
commit cc7e454ffe
5 changed files with 17 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ export default {
if (!this.dataList.length) {
this.dataList.push(res.content)
} else {
if (JSON.stringify(this.dataList).indexOf(JSON.stringify(res.content)) == -1) {
if (JSON.stringify(this.dataList).indexOf(JSON.stringify(res.content)) === -1) {
this.dataList.push(res.content)
}
}