You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 lines
686 B

<template>
<view class="tip-message">
<view class="text-message">{{ renderDom[0].text }}</view>
</view>
</template>
<script>
import { parseGroupTip } from '../../../base/message-facade';
export default {
data() {
return {};
},
components: {},
props: {
message: {
type: Object
}
},
watch: {
message: {
handler: function(newVal) {
this.setData({
renderDom: parseGroupTip(newVal)
});
},
immediate: true,
deep: true
}
},
beforeMount() {
// 在组件实例进入页面节点树时执行
},
destroyed() {
// 在组件实例被从页面节点树移除时执行
},
methods: {}
};
</script>
<style>
@import './index.css';
</style>