bug修复

This commit is contained in:
2024-04-18 00:37:43 +08:00
parent b87c8e8292
commit 6c4c2ac85d
16 changed files with 110 additions and 32 deletions

View File

@@ -1,12 +1,12 @@
<template>
<web-view class="h-full" :src="url" />
<web-view class='h-full' :src='url' />
</template>
<script setup lang="ts">
<script setup lang='ts'>
const url = ref<string>('');
onLoad((params: any) => {
if (params.url)
url.value = params.url;
if(params.url)
url.value = decodeURIComponent(params.url);
});
</script>