浏览代码

[edit] card

wenliming 2 年之前
父节点
当前提交
7b8ef1d731
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pages/index.vue

+ 3 - 3
pages/index.vue

@@ -284,15 +284,15 @@ export default {
 			meta: [
 				// facebook 
 				{
-					property: 'og:url',
+					name: 'og:url',
 					content: this.jumpUrl + this.detail.postId
 				},
 				{
-					property: 'og:title',
+					name: 'og:title',
 					content: this.metaTitle
 				},
 				{
-					property: 'og:image',
+					name: 'og:image',
 					content: this.detail.postBizData.imagePath || ''
 				},
 				// twitter