Преглед изворни кода

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

小莫唐尼 пре 1 година
родитељ
комит
a67ad88c3f
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      pagesA/comment/comment.vue

+ 4 - 4
pagesA/comment/comment.vue

@@ -50,7 +50,7 @@
 					avatar: '',
 					authorUrl: '', // 作者主页
 					content: '', // 评论内容
-					email: '', // 邮件 
+					email: '', // 邮件
 					postName: ""
 				}
 			};
@@ -113,7 +113,7 @@
 						raw: this.form.content,
 						content: this.form.content,
 						owner: {
-							avatar: this.form.avatarUrl,
+							avatar: this.form.avatar,
 							displayName: this.form.author,
 							email: this.form.email,
 							website: this.form.authorUrl,
@@ -146,7 +146,7 @@
 					raw: this.form.content,
 					content: this.form.content,
 					owner: {
-						avatar: this.form.avatarUrl,
+						avatar: this.form.avatar,
 						displayName: this.form.author,
 						email: this.form.email,
 						website: this.form.authorUrl,
@@ -194,4 +194,4 @@
 			}
 		}
 	}
-</style>
+</style>