1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-11 12:49:30 +08:00

fix: 修复评论头像字段错误问题

This commit is contained in:
小莫唐尼
2024-06-04 17:42:51 +08:00
parent 6684f80f02
commit a67ad88c3f
+4 -4
View File
@@ -50,7 +50,7 @@
avatar: '', avatar: '',
authorUrl: '', // 作者主页 authorUrl: '', // 作者主页
content: '', // 评论内容 content: '', // 评论内容
email: '', // 邮件 email: '', // 邮件
postName: "" postName: ""
} }
}; };
@@ -113,7 +113,7 @@
raw: this.form.content, raw: this.form.content,
content: this.form.content, content: this.form.content,
owner: { owner: {
avatar: this.form.avatarUrl, avatar: this.form.avatar,
displayName: this.form.author, displayName: this.form.author,
email: this.form.email, email: this.form.email,
website: this.form.authorUrl, website: this.form.authorUrl,
@@ -146,7 +146,7 @@
raw: this.form.content, raw: this.form.content,
content: this.form.content, content: this.form.content,
owner: { owner: {
avatar: this.form.avatarUrl, avatar: this.form.avatar,
displayName: this.form.author, displayName: this.form.author,
email: this.form.email, email: this.form.email,
website: this.form.authorUrl, website: this.form.authorUrl,
@@ -194,4 +194,4 @@
} }
} }
} }
</style> </style>