| | |
| | | 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( |
| | |
| | | } |
| | | // #endif |
| | | } |
| | | |
| | | if (data.type === "addTask") { |
| | | // #ifdef MP-WEIXIN |
| | | // #endif |
| | | } |
| | | } |
| | | const isApp = ref(false); |
| | | onShow(() => { |