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); // 如果返回错误码