jiangping
2024-12-20 53b6400ec10c8ca61ccec91c82c358d2488eead8
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({
@@ -206,8 +207,8 @@
            //       'openLocation'
            //    ] // 必填,需要使用的JS接口列表
            // })
            // this.getLocation()
            this.getDetail()
            this.getLocation()
            // this.getDetail()
         } else {
            this.getDetail()
         }
@@ -287,7 +288,8 @@
               type: 'wgs84',
               success: (res) => {
                  this.lat = res.latitude
                  this.lnt = res.longitude
                  this.lnt = res.longitude
                  console.log('---', res);
                  this.getDetail()
               },
               fail: (err) => {