罗广辉
2026-06-18 44dd9c4eb8a2489c63a5eb53fd4254bbb3510e95
src/subPackages/inspectionTask/taskDetails.vue
@@ -3,7 +3,7 @@
    <view>
      <web-view
        ref="sWebViewRef"
        :src='`${viewUrl}?token=${token}&wayLineJodInfoId=${active.id}`'
        :src='`${viewUrl}?token=${token}&wayLineJobInfoId=${active.id}`'
        @message="onPostMessage"
        @onPostMessage="onPostMessage"
      />
@@ -26,7 +26,6 @@
<script setup>
import {onHide, onShow} from "@dcloudio/uni-app";
import {useUserStore} from "@/store/index.js";
const active = defineModel('active')
const sWebViewRef = ref(null)
@@ -36,8 +35,6 @@
import {onLoad} from "@dcloudio/uni-app";
// const active = defineModel('active')
// console.log(active.value, '555')
function onPostMessage(event) {
  if (event.detail.data[0].type === 'back'){
    active.value = null