增加hideMessageName属性,优化文档

This commit is contained in:
fan
2021-01-17 18:10:09 +08:00
parent df4d280f85
commit 495a236848
11 changed files with 162 additions and 17 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ export default {
name: "LemonMessages",
components: {},
props: {
hideName:Boolean,
reverseUserId: String,
timeRange: {
type: Number,
@@ -66,7 +67,7 @@ export default {
timeFormat: this.msecRange > 0 ? () => {} : this.timeFormat,
message: message,
reverse: this.reverseUserId == message.fromUser.id,
hiddenTitle: false
hideName: this.hideName
}}
/>
);