Skip to content

Commit 4f7f96f

Browse files
committed
fix: register password tip show err
1 parent 28d0e8b commit 4f7f96f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

β€Žsrc/views/user/Register.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696

9797
<script>
9898
import { getSmsCaptcha } from '@/api/login'
99+
import { deviceMixin } from '@/store/device-mixin'
99100
100101
const levelNames = {
101102
0: '低',
@@ -119,7 +120,7 @@ export default {
119120
name: 'Register',
120121
components: {
121122
},
122-
mixins: [],
123+
mixins: [deviceMixin],
123124
data () {
124125
return {
125126
form: this.$form.createForm(this),
@@ -198,7 +199,7 @@ export default {
198199
},
199200
200201
handlePasswordInputClick () {
201-
if (!this.isMobile()) {
202+
if (!this.isMobile) {
202203
this.state.passwordLevelChecked = true
203204
return
204205
}

0 commit comments

Comments
Β (0)