From a3f26d1cac0d741571cc410942adddc9b4501f59 Mon Sep 17 00:00:00 2001 From: luyisha Date: Fri, 27 Oct 2023 10:20:33 +0800 Subject: [PATCH] 1 --- layout/vCode.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/vCode.vue b/layout/vCode.vue index 6e45759..f9a1456 100644 --- a/layout/vCode.vue +++ b/layout/vCode.vue @@ -80,7 +80,7 @@ export default { this.inSend = true; serve.post(this.url, this.data) .then((res) => { - if(res.code=='4001'){ + if(res.code!=='200'){//4001|1004 this.inSend = false this.$toast(res.message); // 如果返回错误码