From c743612b8129a6221c13b865fcd0b112b84afc38 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 19 八月 2025 15:25:58 +0800 Subject: [PATCH] fix: bug --- apps/cMiniApp/src/subpackages/authentication/authenticationFace/InnerPage.vue | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationFace/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationFace/InnerPage.vue new file mode 100644 index 0000000..6c414e3 --- /dev/null +++ b/apps/cMiniApp/src/subpackages/authentication/authenticationFace/InnerPage.vue @@ -0,0 +1,41 @@ +<template> + <ContentScrollView :paddingH="false"> + <nut-form :model-value="form" ref="formRef"> + <nut-form-item label="鍒疯劯:" class="bole-form-item alignTop" prop="licenseUrl" required> + </nut-form-item> + </nut-form> + </ContentScrollView> + <PageFooter :isOnlyAction="false"> + <PageFooterBtn type="primary" @click="handleSubmit()" :loading="loading" + >鍒疯劯璁よ瘉</PageFooterBtn + > + </PageFooter> +</template> + +<script setup lang="ts"> +import Taro from '@tarojs/taro'; + +defineOptions({ + name: 'InnerPage', +}); + +const form = reactive({ + licenseUrl: [], +}); + +const formRef = ref<any>(null); +const loading = ref(false); + +function handleSubmit() { + if (!formRef.value) return; + formRef.value.validate().then(({ valid, errors }: any) => { + if (valid) { + // submit(); + } + }); +} +</script> + +<style lang="scss"> +@import '@/styles/common.scss'; +</style> -- Gitblit v1.9.1