消息
This commit is contained in:
13
TUIKit/components/TUIChat/web-view.vue
Normal file
13
TUIKit/components/TUIChat/web-view.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user