Explorar el Código

fix: 弹框修改

allen hace 3 meses
padre
commit
9fae22d364
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. 8 2
      pages/cb/wenshizs/detail.vue

+ 8 - 2
pages/cb/wenshizs/detail.vue

@@ -70,6 +70,12 @@ export default {
           'Content-Type': 'application/json',
         },
       });
+      // 提示
+      uni.showToast({
+        title: res?.msg || '',
+        icon: 'none',
+        duration: 3000,
+      });
     },
     async getDataSource() {
       const res = await this.$myRequest({
@@ -117,9 +123,9 @@ export default {
     },
     toNavigation() {
       const roundedLongitude =
-        this.deviceInfo.devLngalign || this.deviceInfo.devLng;
+        this.dataSource.devLngalign || this.dataSource.devLng;
       const roundedLatitude =
-        this.deviceInfo.devLatalign || this.deviceInfo.devLat;
+        this.dataSource.devLatalign || this.dataSource.devLat;
       if (!roundedLongitude) {
         uni.showToast({
           title: '当前设备无定位信息',