From 4c9d218bf8742f22276245e7d623ff823d13758d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 二月 2025 18:27:56 +0800
Subject: [PATCH] ll

---
 h5/pages/driver/taskDetail.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/h5/pages/driver/taskDetail.vue b/h5/pages/driver/taskDetail.vue
index b74792b..a5229da 100644
--- a/h5/pages/driver/taskDetail.vue
+++ b/h5/pages/driver/taskDetail.vue
@@ -192,7 +192,8 @@
 				showDetail: false,
 			}
 		},
-		onLoad(option) {
+		onLoad(option) {
+			uni.setStorageSync('ywinfo',{})
 			this.jobId = option.id
 			if (option.status && option.status == '1') {
 				// wx.config({
@@ -231,9 +232,11 @@
 					lat,
 					lnt,
 					signType: 0
-				}).then(res => {
-					this.showToast('绛惧埌鎴愬姛')
-					this.getDetail()
+				}).then(res => {
+					if (res && res.code == 200) {
+						this.showToast('绛惧埌鎴愬姛')
+						this.getDetail()
+					}
 				})
 			},
 			getDetail() {
@@ -323,7 +326,7 @@
 				display: flex;
 
 				.label {
-					width: 150rpx;
+					width: 154rpx;
 					font-size: 30rpx;
 					color: #666666;
 				}

--
Gitblit v1.9.3