14 lines
258 B
Vue
Raw Normal View History

2025-03-19 15:35:09 +08:00
<template>
<web-view :src="url" />
</template>
<script lang="ts" setup>
import { ref } from '../../adapter-vue';
import { onLoad } from '@dcloudio/uni-app';
const url = ref('');
onLoad((option: any) => {
url.value = option && option.url;
});
</script>