From 2329270e98c212aacc5421a0fdb89262fc7f29bc Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Wed, 21 Feb 2024 12:13:32 +0800 Subject: [PATCH] submit --- src/components/operateTitle/index.vue | 2 +- src/views/reg-details/index.vue | 8 +++++++- src/views/upload-id-card/index.vue | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/operateTitle/index.vue b/src/components/operateTitle/index.vue index 943750f..5b370d4 100644 --- a/src/components/operateTitle/index.vue +++ b/src/components/operateTitle/index.vue @@ -27,7 +27,7 @@ watch(route, () => { } } - document.title= route.meta.title + /* document.title= route.meta.title*/ }, { immediate: true }) diff --git a/src/views/reg-details/index.vue b/src/views/reg-details/index.vue index 0d7c04b..5b10c8f 100644 --- a/src/views/reg-details/index.vue +++ b/src/views/reg-details/index.vue @@ -83,7 +83,13 @@ const isWithinThreeMonths=(dateStr)=> { return isEarlier && isWithinThreeMonths; } const confirmAddress = (data) => { - submitReturnData.value.address=JSON.stringify(data.selectedOptions) + submitReturnData.value.address=JSON.stringify(data.selectedOptions.map((x)=>{ + return { + text:x.text, + value:x.value + } + + })) showBottom.value = false } const sendCode = async () => { diff --git a/src/views/upload-id-card/index.vue b/src/views/upload-id-card/index.vue index 5593e60..34ef8ea 100644 --- a/src/views/upload-id-card/index.vue +++ b/src/views/upload-id-card/index.vue @@ -29,7 +29,6 @@ const contentComputed = computed(() => { } }) const submitClick =async () => { - const data={ artistName:idCardInfo.value.realName, gender:idCardInfo.value.sex==='男'?1:2,