From 016e00ce1a894cb4ce71570f3442190ae0f61fc1 Mon Sep 17 00:00:00 2001 From: mutoe Date: Mon, 23 Jul 2018 10:11:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(register):=20=E4=BF=AE=E5=A4=8D=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E9=A1=B5=E9=9D=A2=E5=9C=A8=E5=90=8E=E5=8F=B0=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=85=8D=E7=BD=AE=E6=B3=A8=E5=86=8C=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=97=B6=E6=89=93=E4=B8=8D=E5=BC=80=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issue #458 --- src/page/sign/Signup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/page/sign/Signup.vue b/src/page/sign/Signup.vue index d1e20197..31b188b2 100644 --- a/src/page/sign/Signup.vue +++ b/src/page/sign/Signup.vue @@ -213,7 +213,7 @@ export default { computed: { ...mapState(["CONFIG"]), showProtocol() { - const { registerSettings = {} } = this.CONFIG; + const registerSettings = this.CONFIG.registerSettings || {}; return registerSettings.showTerms || false; }, codeText() {