fix: 计算

This commit is contained in:
bietiaop 2024-07-28 23:57:49 +08:00
parent cc9a0a1271
commit 4604f888af

View file

@ -99,6 +99,7 @@ export const getEquipPropertyEnhanceCount = (propertyID, value) => {
value = value.replace('%', '');
}
value = Number(value);
propertyID = String(propertyID);
const baseValue = baseValueData[propertyID] || 0;
if (baseValue === 0) {
return 0;