规范res.code==0

This commit is contained in:
花有清香月有阴
2022-01-12 14:26:18 +08:00
parent b82eef54d3
commit 2ea716e892
4 changed files with 9 additions and 9 deletions

View File

@@ -115,7 +115,7 @@ export default {
this.$http
.post(`/app/appepidemicreportmember/queryDetailById?id=${this.userList.memberId}`)
.then((res) => {
if (res?.code == 0) {
if (res.code == 0) {
this.data = res.data
this.$hideLoading()
} else {