Просмотр исходного кода

新用户承诺书功能完成

yuanmingze 8 месяцев назад
Родитель
Сommit
b401200e69
2 измененных файлов с 1 добавлено и 1 удалено
  1. 0 1
      src/pages-common/signature/index.vue
  2. 1 0
      src/pages/index/components/HonestAgreementGate.vue

+ 0 - 1
src/pages-common/signature/index.vue

@@ -68,7 +68,6 @@ const saveSignature = async (url: string) => {
     signatureUrl: url,
     signatureUrl: url,
   })
   })
   if (res.code === 0 && res.data) {
   if (res.code === 0 && res.data) {
-    uni.showTabBar()
     uni.navigateBack()
     uni.navigateBack()
   }
   }
 }
 }

+ 1 - 0
src/pages/index/components/HonestAgreementGate.vue

@@ -75,6 +75,7 @@ const visible = defineModel<boolean>({ required: true })
 const isRead = ref(false)
 const isRead = ref(false)
 
 
 const handleAgree = () => {
 const handleAgree = () => {
+  visible.value = false
   uni.navigateTo({
   uni.navigateTo({
     url: '/pages-common/signature/index?type=HONEST_AGREEMENT_V2',
     url: '/pages-common/signature/index?type=HONEST_AGREEMENT_V2',
   })
   })