no message
Showing
1 changed file
with
7 additions
and
2 deletions
| ... | @@ -63,7 +63,8 @@ | ... | @@ -63,7 +63,8 @@ |
| 63 | 63 | ||
| 64 | <script setup> | 64 | <script setup> |
| 65 | import { | 65 | import { |
| 66 | ref | 66 | ref, |
| 67 | onMounted | ||
| 67 | } from 'vue' | 68 | } from 'vue' |
| 68 | import { | 69 | import { |
| 69 | getCodeImg, | 70 | getCodeImg, |
| ... | @@ -72,7 +73,7 @@ import { | ... | @@ -72,7 +73,7 @@ import { |
| 72 | } from '@/common/login.js' | 73 | } from '@/common/login.js' |
| 73 | 74 | ||
| 74 | const agree = ref(false) | 75 | const agree = ref(false) |
| 75 | 76 | const codeUrl = ref(null) | |
| 76 | const registerForm = ref({ | 77 | const registerForm = ref({ |
| 77 | telNo: null, | 78 | telNo: null, |
| 78 | password: null, | 79 | password: null, |
| ... | @@ -86,6 +87,10 @@ const countDown = ref({ | ... | @@ -86,6 +87,10 @@ const countDown = ref({ |
| 86 | second: 60 | 87 | second: 60 |
| 87 | }) | 88 | }) |
| 88 | 89 | ||
| 90 | onMounted(() => { | ||
| 91 | getCode() | ||
| 92 | }) | ||
| 93 | |||
| 89 | function changeAgree(item) { | 94 | function changeAgree(item) { |
| 90 | item = !item | 95 | item = !item |
| 91 | } | 96 | } | ... | ... |
-
Please register or sign in to post a comment