mirror of
https://github.com/TencentCloud/TIMSDK.git
synced 2026-10-24 10:20:25 +08:00
44 lines
701 B
JavaScript
44 lines
701 B
JavaScript
import { parseText } from '../../../base/message-facade.js';
|
|
// eslint-disable-next-line no-undef
|
|
Component({
|
|
/**
|
|
* 组件的属性列表
|
|
*/
|
|
properties: {
|
|
message: {
|
|
type: Object,
|
|
value: {},
|
|
observer(newVal) {
|
|
this.setData({
|
|
renderDom: parseText(newVal),
|
|
});
|
|
},
|
|
},
|
|
isMine: {
|
|
type: Boolean,
|
|
value: true,
|
|
},
|
|
},
|
|
|
|
/**
|
|
* 组件的初始数据
|
|
*/
|
|
data: {
|
|
|
|
},
|
|
lifetimes: {
|
|
attached() {
|
|
// 在组件实例进入页面节点树时执行
|
|
},
|
|
detached() {
|
|
// 在组件实例被从页面节点树移除时执行
|
|
},
|
|
},
|
|
/**
|
|
* 组件的方法列表
|
|
*/
|
|
methods: {
|
|
|
|
},
|
|
});
|