| | |
| | | import img1 from "../../assets/image/slider/1.png"; |
| | | import img2 from "../../assets/image/slider/2.png"; |
| | | import { getStorage } from "@/utils/utis"; |
| | | import { log } from "qrcode/lib/core/galois-field"; |
| | | // /sendVerifyCode |
| | | export default { |
| | | props: {}, |
| | |
| | | } |
| | | this.show = true; |
| | | }, |
| | | changeIndex(index) { |
| | | this.activeIndex = index; |
| | | switch (index) { |
| | | case 0: |
| | | case 1: { |
| | | this.isArea = false; |
| | | break; |
| | | } |
| | | case 2: { |
| | | this.isArea = true; |
| | | break; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | async registerApi() { |
| | | this.$store.state.user.userInfo.token = undefined; |
| | | await AxiosuserCenter.invitationCode({ |
| | | code: this.form.usercode, |
| | | }); |
| | | Axios.registerUser({ |
| | | username: this.form.email, |
| | | password: this.form.password, |