From f2e09e5d93a41bea72bd6b4f306c7cd191ba763c Mon Sep 17 00:00:00 2001 From: woody Date: Thu, 8 May 2025 14:07:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(existRealName):=20=E5=AE=9E=E5=90=8D?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E9=98=85=E8=AF=BB=E5=8D=8F=E8=AE=AE=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=8E=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/selfService/existRealName.vue | 35 ++++++++------------ 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/src/components/selfService/existRealName.vue b/src/components/selfService/existRealName.vue index 30fc5e9..8f65e5d 100644 --- a/src/components/selfService/existRealName.vue +++ b/src/components/selfService/existRealName.vue @@ -387,27 +387,20 @@ export default { saveData() { this.$refs["smform"].validate((valid) => { if (valid) { - if (this.toShow == false) { - this.$message({ - message: "请阅读推广人员服务协议", - type: "warning", + wal + .addAuthentication(this.smform) + .then((res) => { + if (res.code == 200) { + this.$message({ + message: res.msg, + type: "success", + }); + this.getDetail(); + } + }) + .catch((err) => { + this.beginTime = 0; }); - } else { - wal - .addAuthentication(this.smform) - .then((res) => { - if (res.code == 200) { - this.$message({ - message: res.msg, - type: "success", - }); - this.getDetail(); - } - }) - .catch((err) => { - this.beginTime = 0; - }); - } } else { return false; } @@ -433,7 +426,7 @@ export default { margin: 30px 0; } .hqyzm1 { - color: #d5251d; + color: var(--primary-color); cursor: pointer; } .hui {