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); });