ZZJ
2022-07-14 2b99047683332624832c1dfcae596e957a710b7d
src/views/register/components/SelectType.vue
@@ -177,6 +177,14 @@
          });
          this.info.provinceId = this.info.address[0];
          this.info.areaId = this.info.address[1];
          for (const key in this.info) {
            if (this.info[key] === "") {
              delete this.info[key];
            }
          }
          if (this.info.userType == 2) {
            this.info.trueName = this.info.companyName;
          }
          entireUserInfo(this.info)
            .then(() => {
              this.loading.close();
@@ -193,11 +201,6 @@
            })
            .catch((err) => {
              this.loading.close();
              //后门
              this.$router.push({
                path: "/register/success",
                query: { info: this.userInfo },
              });
              this.$notify({
                type: "error",
                message: err.msg,
@@ -419,5 +422,9 @@
  .el-scrollbar__view {
    overflow: hidden;
  }
  .el-cascader-node__postfix::before {
    display: none !important;
  }
}
</style>