Showing
1 changed file
with
3 additions
and
1 deletions
@@ -55,7 +55,9 @@ export default { | @@ -55,7 +55,9 @@ export default { | ||
55 | let half = newVal.length / 2; | 55 | let half = newVal.length / 2; |
56 | 56 | ||
57 | if (newVal.substring(0, half) === newVal.substring(half)) { | 57 | if (newVal.substring(0, half) === newVal.substring(half)) { |
58 | - this.smsCode = newVal.substring(0, half); | 58 | + setTimeout(() => { |
59 | + this.smsCode = newVal.substring(0, half); | ||
60 | + }, 0); | ||
59 | } | 61 | } |
60 | } | 62 | } |
61 | } | 63 | } |
-
Please register or login to post a comment