罗广辉
2025-11-06 bd15a592ee272b21fdc9e5c957e77066aa021cb5
feat: 新增不需要经纬度定位
1 files modified
2 ■■■ changed files
src/pages/inspectionTask/index.vue 2 ●●● patch | view | raw | blame | history
src/pages/inspectionTask/index.vue
@@ -28,7 +28,7 @@
onShow(() => {
  isApp.value = true
  // 清除数据
  const encodedData = encodeURIComponent(JSON.stringify({ device_sn: '', latitude: '25.9922904974658', longitude: '114.82299452904442' }))
  const encodedData = encodeURIComponent(JSON.stringify({ device_sn: '' }))
  uni.setStorageSync('webview_params', encodedData);
  uni.setTabBarItem({
    index: 2, // Tab 的索引(从0开始)