Files
suke-mp/src/pages/common/webview/index.vue
2024-04-24 21:53:31 +08:00

13 lines
225 B
Vue

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