jiuyiUniapp/jiuyi2/TUIKit/components/TUIChat/web-view.vue

14 lines
258 B
Vue
Raw Permalink Normal View History

2024-12-18 15:46:27 +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>