From fffbe3b63e453ca359b05615c2bca007d4e95ebb Mon Sep 17 00:00:00 2001
From: xingyy <373639591@qq.com>
Date: Tue, 19 Dec 2023 10:18:08 +0800
Subject: [PATCH] submit
---
.hbuilderx/launch.json | 1 +
src/pages/facial/index.vue | 12 +++++++----
src/pages/home/index.vue | 6 +++++-
src/pages/index/index.vue | 2 +-
src/pages/ticket/index.vue | 43 ++++++++++++++++++++++++++++++++++++--
5 files changed, 56 insertions(+), 8 deletions(-)
diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index d65fd99b..65b8e9bf 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -15,3 +15,4 @@
]
}
+
\ No newline at end of file
diff --git a/src/pages/facial/index.vue b/src/pages/facial/index.vue
index b52f7502..dcb91098 100644
--- a/src/pages/facial/index.vue
+++ b/src/pages/facial/index.vue
@@ -56,10 +56,14 @@ const submit=async ()=>{
realName:idInfo.value.name
})
if (res.code===200){
- msg.value.show({ model: 'success' })
- /* await uni.showToast({title: '实名成功', icon: 'none', duration: 2000})*/
- await getUserInfo()
- await uni.navigateBack()
+ uni.showToast({
+ title: '实名成功',
+ icon: 'none',
+ duration: 1000
+ })
+ getUserInfo()
+ uni.navigateBack()
+
}
}
const idInfo=ref({
diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue
index b5c45ed2..d87eb64e 100644
--- a/src/pages/home/index.vue
+++ b/src/pages/home/index.vue
@@ -5,7 +5,7 @@