mirror of
https://github.com/tl-open-source/tl-rtc-file.git
synced 2025-09-26 19:41:16 +08:00
消息格式
This commit is contained in:
@@ -107,4 +107,31 @@
|
||||
</template>
|
||||
<script setup>
|
||||
// import { test, obj } from '../rtcGlobal';
|
||||
import { ref, onMounted } from 'vue';
|
||||
const list = ref([]);
|
||||
|
||||
onMounted(()=>{
|
||||
list.value=[
|
||||
{
|
||||
id:'abc',
|
||||
addTimeTick:12435515151,
|
||||
msg:'这是一个消息',
|
||||
userId:'ddd',
|
||||
type:'text',
|
||||
data:{}
|
||||
},
|
||||
{
|
||||
id:'efg',
|
||||
addTimeTick:12435515151,
|
||||
msg:'这是一个消息',
|
||||
userId:'ddd',
|
||||
type:'image',
|
||||
data:{
|
||||
url:'aa.jpg',
|
||||
width:200,
|
||||
height:100
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
</script>
|
Reference in New Issue
Block a user