| | |
| | | <!-- <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%" |
| | |
| | | name: "RegisterNav" |
| | | }); |
| | | const ruleFormRef = ref<FormInstance>(); |
| | | const isLoading = ref(false); |
| | | const state = reactive({ |
| | | headers: { |
| | | // Accept: "application/json, text/plain, */*", |
| | |
| | | type: "error" |
| | | }); |
| | | } |
| | | isLoading.value = false; |
| | | }; |
| | | |
| | | const handleAvatarSuccessLegalRepresentative: UploadProps["onSuccess"] = ( |
| | |
| | | type: "error" |
| | | }); |
| | | } |
| | | isLoading.value = false; |
| | | }; |
| | | |
| | | const handleAvatarSuccessOperator: UploadProps["onSuccess"] = ( |
| | |
| | | type: "error" |
| | | }); |
| | | } |
| | | isLoading.value = false; |
| | | }; |
| | | |
| | | const beforeAvatarUpload: UploadProps["beforeUpload"] = rawFile => { |
| | | isLoading.value = true; |
| | | // if (rawFile.type !== "image/jpeg") { |
| | | // message(`请上传jpeg类型的图片`, { |
| | | // type: "error" |