ZZJ
2022-01-06 fa44bcc2861fe56e8af50fbd8f56065250a2ece3
src/pages/index/App.vue
@@ -139,9 +139,13 @@
      this.$refs["carousel"].next();
    },
    async getInitInfo() {
      const res = await getInitInfo();
      const res = await getInitInfo().catch((err) => {
        this.isWhite = false;
      });
      if (true) {
      console.log(res);
      if (res.data && res.data.initPwd && !res.data.initRegInfo) {
        const res1 = await getRegInfo();
        this.active = 1;
        console.log(res1);
@@ -150,10 +154,10 @@
        }, 0);
      }
      /* if (res.data.initPwd && res.data.initRegInfo) {
        location.assign("/login");
      if (res.data && res.data.initPwd && res.data.initRegInfo) {
        location.assign("/view/login/");
        return;
      } */
      }
      this.isWhite = false;
    },