chore: Refactor widget (#5621)
This commit is contained in:
parent
e310230f62
commit
a6960dc2d3
18 changed files with 31 additions and 55 deletions
|
@ -104,8 +104,7 @@ export default {
|
|||
) {
|
||||
return false;
|
||||
}
|
||||
if (!this.message.content) return false;
|
||||
return true;
|
||||
return this.message.content;
|
||||
},
|
||||
readableTime() {
|
||||
const { created_at: createdAt = '' } = this.message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue