From ae01e4e8ac01a429ac5759f7dedf9382622c79e1 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 31 Jan 2026 00:44:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E5=A4=84=E7=90=86=E7=89=B9?= =?UTF-8?q?=E5=AE=9A=E6=AD=A6=E5=99=A8=E6=B2=A1=E6=9C=89=E5=89=AF=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E6=97=B6=E7=9A=84=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/userAvatar/tua-dc-weapon.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/userAvatar/tua-dc-weapon.vue b/src/components/userAvatar/tua-dc-weapon.vue index a0f95412..32ad1196 100644 --- a/src/components/userAvatar/tua-dc-weapon.vue +++ b/src/components/userAvatar/tua-dc-weapon.vue @@ -25,13 +25,13 @@ {{ props.modelValue.main_property.final }} -
+
propSub mdi-adjust {{ propSub !== false ? propSub.name : "未知属性" }} - {{ props.modelValue.sub_property?.final }} + {{ props.modelValue.sub_property.final }}
@@ -64,7 +64,7 @@ const propMain = computed(() => { return userStore.getProp(props.modelValue.main_property.property_type); }); const propSub = computed(() => { - if (props.modelValue.sub_property === null) return false; + if (props.modelValue.sub_property === undefined) return false; return userStore.getProp(props.modelValue.sub_property.property_type); });