123456789101112131415161718 |
- <template>
- <web-view :src="state.url"></web-view>
- </template>
-
- <script setup>
- import {onLoad} from "@dcloudio/uni-app";
- import {reactive} from "vue";
- const state = reactive({
- url:""
- })
- onLoad((option) => {
- console.log("option",option)
- state.url=option.url
- });
- </script>
-
- <style>
- </style>
|