Commit 66f224db by xinla

增加已撤回消息类型判断

1 parent 3fe0f893
...@@ -55,6 +55,9 @@ export default { ...@@ -55,6 +55,9 @@ export default {
<template v-if="message.msgType === 'text'"> <template v-if="message.msgType === 'text'">
{{ content }} {{ content }}
</template> </template>
<template v-else-if="message.msgType === 'revoke'">
已撤回
</template>
<template v-else-if="'image,emotion'.includes(message.msgType)"> <template v-else-if="'image,emotion'.includes(message.msgType)">
<el-image <el-image
style="width: 100px; height: 100px" style="width: 100px; height: 100px"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!