1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| <template>
| <!-- web-view 组件用于加载外部链接 -->
| <web-view :src="urla" />
| </template>
|
| <script setup lang="ts">
| import Taro from '@tarojs/taro';
|
| defineOptions({
| name: 'authenticationFaRen',
| });
|
| const router = Taro.useRouter();
|
| const url = (router.params.url as string) ?? '';
|
| const urla = computed(() => decodeURIComponent(url));
| </script>
|
|