We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d0e8b commit 4f7f96fCopy full SHA for 4f7f96f
βsrc/views/user/Register.vue
@@ -96,6 +96,7 @@
96
97
<script>
98
import { getSmsCaptcha } from '@/api/login'
99
+import { deviceMixin } from '@/store/device-mixin'
100
101
const levelNames = {
102
0: 'δ½',
@@ -119,7 +120,7 @@ export default {
119
120
name: 'Register',
121
components: {
122
},
- mixins: [],
123
+ mixins: [deviceMixin],
124
data () {
125
return {
126
form: this.$form.createForm(this),
@@ -198,7 +199,7 @@ export default {
198
199
200
201
handlePasswordInputClick () {
- if (!this.isMobile()) {
202
+ if (!this.isMobile) {
203
this.state.passwordLevelChecked = true
204
return
205
}
0 commit comments