shuishen
2025-12-20 7c9ade3d6835a14675099d2f48d2c5f7338835ab
src/pages/inspectionTask/index.vue
@@ -19,10 +19,21 @@
const updateKey = ref(0);
const sxListKey = ref(0);
const viewUrl = computed(() => {
  // #ifdef MP-WEIXIN
  return getWebViewUrl("/inspectionTask", {
    updateKey: updateKey.value,
    sxListKey: sxListKey.value,
    showAddBtn: 1,
  });
  // #endif
  // #ifndef MP-WEIXIN
  return getWebViewUrl("/inspectionTask", {
    updateKey: updateKey.value,
    sxListKey: sxListKey.value,
    showAddBtn: 0,
  });
  // #endif
});
watch(
@@ -49,6 +60,11 @@
    }
    // #endif
  }
  if (data.type === "addTask") {
    // #ifdef MP-WEIXIN
    // #endif
  }
}
const isApp = ref(false);
onShow(() => {