636d78e7 by 华明祺

no message

1 parent a00c6bf5
...@@ -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 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!