文件
OmniCard/mpuniapp/uni_modules/uni-pay-x/pages/ad-interactive-webview/ad-interactive-webview.uvue

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>