wupengfei
2025-08-29 8dee8403e6c12b6d738a3756d078ac0b4e6ec70d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<template>
  <web-view :src="urlLink" />
</template>
 
<script setup lang="ts">
import Taro from '@tarojs/taro';
 
defineOptions({
  name: 'extraPage',
});
 
const router = Taro.useRouter();
 
const url = (router.params.url as string) ?? '';
 
const urlLink = computed(() => decodeURIComponent(url));
</script>