diff --git a/src/components/blog.vue b/src/components/blog.vue index a1ca726..4558053 100644 --- a/src/components/blog.vue +++ b/src/components/blog.vue @@ -3,7 +3,7 @@
- +
{{webInfo.webName}}
@@ -86,6 +86,9 @@ import axios from "axios"; import * as events from "events"; export default { + avatar: { + type: String + }, // 组件的逻辑和配置 data() { return { @@ -94,6 +97,7 @@ export default { size: 5, recommendStatus: true }, + currentUser: this.$store.state.currentUser, recommendArticles: [], admires: [], showAdmireDialog: false,