zhangwei
1 天以前 309b5a2eb4a99f20b2dcceca41c7ed1275bcc6ae
src/views/register/registernav.vue
@@ -113,7 +113,11 @@
          <!-- <p class="text-center xieyi">注册协议</p> -->
        </div>
      </div>
      <div v-else-if="active == 1" class="flex justify-center mt-5">
      <div
        v-else-if="active == 1"
        v-loading="isLoading"
        class="flex justify-center mt-5"
      >
        <el-form
          ref="ruleFormRef"
          style="width: 95%"
@@ -423,6 +427,7 @@
  name: "RegisterNav"
});
const ruleFormRef = ref<FormInstance>();
const isLoading = ref(false);
const state = reactive({
  headers: {
    // Accept: "application/json, text/plain, */*",
@@ -677,6 +682,7 @@
      type: "error"
    });
  }
  isLoading.value = false;
};
const handleAvatarSuccessLegalRepresentative: UploadProps["onSuccess"] = (
@@ -694,6 +700,7 @@
      type: "error"
    });
  }
  isLoading.value = false;
};
const handleAvatarSuccessOperator: UploadProps["onSuccess"] = (
@@ -711,9 +718,11 @@
      type: "error"
    });
  }
  isLoading.value = false;
};
const beforeAvatarUpload: UploadProps["beforeUpload"] = rawFile => {
  isLoading.value = true;
  // if (rawFile.type !== "image/jpeg") {
  //   message(`请上传jpeg类型的图片`, {
  //     type: "error"