Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix(register): 修复注册页面在后台没有配置注册设置时打不开的问题
Browse files Browse the repository at this point in the history
issue #458
  • Loading branch information
mutoe committed Jul 23, 2018
1 parent 902b6f5 commit 016e00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/sign/Signup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default {
computed: {
...mapState(["CONFIG"]),
showProtocol() {
const { registerSettings = {} } = this.CONFIG;
const registerSettings = this.CONFIG.registerSettings || {};
return registerSettings.showTerms || false;
},
codeText() {
Expand Down

0 comments on commit 016e00c

Please sign in to comment.