fix: 将状态码判断字段从code换为http status

This commit is contained in:
chenjinsong
2023-08-27 20:34:24 +08:00
parent dc6b8e067c
commit 4a20d39fa2
13 changed files with 50 additions and 49 deletions

View File

@@ -192,7 +192,7 @@ export default {
const res = []
res[0] = response[0].data
res[1] = response[1].data
if (res[0].code === 200) {
if (response[0].status === 200) {
this.showError1 = false
const linkData = res[0].data.result
@@ -252,7 +252,7 @@ export default {
this.errorMsg1 = this.errorMsgHandler(res[0])
}
if (res[1].code === 200) {
if (response[1].status === 200) {
this.showError2 = false
const nextHopData = res[1].data.result