罗广辉
2025-10-15 3ff017049bbf0ba93e27c3c8e05a91cbb2a34511
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- 已执行 -->
<template>
  <WebViewPlus :src="`${viewUrl}`"/>
</template>
 
<script setup>
import {onLoad} from "@dcloudio/uni-app";
import WebViewPlus from "@/components/WebViewPlus.vue";
import {getWebViewUrl} from "@/utils/index.js";
 
const viewUrl = ref(getWebViewUrl('/execution'))
 
// function onPostMessage(data) {
//   console.log(data, '9999')
//   if (data.type === 'taskDetails'){
//     console.log('4444')
//     uni.switchTab({
//       url: '/subPackages/taskDetail/execution/index'
//     });
//   }
// }
</script>
 
<style lang="scss" scoped></style>