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, diff --git a/src/components/myAside.vue b/src/components/myAside.vue index a77a21b..b76bd7d 100644 --- a/src/components/myAside.vue +++ b/src/components/myAside.vue @@ -127,7 +127,11 @@ style="display: flex;justify-content: space-between" :key="i">
- + +
{{ item.username }}