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 {