diff --git a/src/components/viewPost/tp-avatar.vue b/src/components/viewPost/tp-avatar.vue index 6e4c8631..04167f4b 100644 --- a/src/components/viewPost/tp-avatar.vue +++ b/src/components/viewPost/tp-avatar.vue @@ -2,7 +2,8 @@
- + avatar +
@@ -32,11 +33,11 @@ type TpAvatarProps = { data: TGApp.BBS.Post.User; position: "left" | "right" }; const props = defineProps(); +const avatarUrl = computed(() => getUserAvatar(props.data)); const authorDesc = computed(() => { if (props.data.certification.label !== "") return props.data.certification.label; return props.data.introduce; }); - const levelColor = computed(() => { if (!props.data.level_exp) return "var(--tgc-od-white)"; const level = props.data.level_exp.level;