18 行
358 B
Plaintext
18 行
358 B
Plaintext
<template>
|
|
<web-view :src="url"></web-view>
|
|
</template>
|
|
|
|
<script setup lang="uts">
|
|
const url = ref('')
|
|
|
|
onLoad((options) => {
|
|
let urlParam = options["url"] as string | null;
|
|
if (urlParam != null) {
|
|
let decodedUrl = decodeURIComponent(urlParam);
|
|
if (decodedUrl != null) {
|
|
url.value = decodedUrl;
|
|
}
|
|
}
|
|
})
|
|
</script>
|