张含笑
2025-12-23 246d776ad32c94280a3557c73cdbdbcc473fc4ad
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,8 +60,13 @@
    }
    // #endif
  }
  if (data.type === "addTask") {
    // #ifdef MP-WEIXIN
    // #endif
  }
}
const isApp = ref(false);
onShow(() => {
  const joinParams = uni.getStorageSync("joinParams");
  if (joinParams) {