| | |
| | | this.$refs["carousel"].next();
|
| | | },
|
| | | async getInitInfo() {
|
| | | const res = await getInitInfo();
|
| | | const res = await getInitInfo().catch((err) => {
|
| | | this.isWhite = false;
|
| | | });
|
| | |
|
| | | if (res.data.initPwd && !res.data.initRegInfo) {
|
| | | console.log(res);
|
| | |
|
| | | if (res.data && res.data.initPwd && !res.data.initRegInfo) {
|
| | | const res1 = await getRegInfo();
|
| | | this.active = 1;
|
| | | console.log(res1);
|
| | |
| | | }, 0);
|
| | | }
|
| | |
|
| | | if (res.data.initPwd && res.data.initRegInfo) {
|
| | | if (res.data && res.data.initPwd && res.data.initRegInfo) {
|
| | | location.assign("/view/login/");
|
| | | return;
|
| | | }
|