1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| <template>
| <view class="page-wrap">
| <web-view ref="sWebViewRef" :src="`${viewUrl}`" />
| </view>
| </template>
|
| <script setup>
| import { useUserStore } from "@/store/index.js";
|
| const sWebViewRef = ref(null);
| const userStore = useUserStore();
| const viewUrl = `http://192.168.1.194:5174/drone-app-web-view/#/webViewWrapper/defaultMap?params=${JSON.stringify(userStore?.userInfo)}`;
|
| onLoad(() => {
| });
| </script>
|
| <style scoped lang="scss">
| .page-wrap {
| font-size: 20px;
| }
| </style>
|
|