mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
fix: 多流派评分覆盖默认规则错误
This commit is contained in:
parent
5e669f0afd
commit
ea1f5195b5
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ export function formatScoreWeight(oriScoreWeight) {
|
|||
if (typeof oriScoreWeight !== 'object') return false;
|
||||
const weight = {};
|
||||
for (const propName in oriScoreWeight) {
|
||||
if (!oriScoreWeight[propName])
|
||||
if (!oriScoreWeight[propName] && oriScoreWeight[propName] !== 0)
|
||||
continue;
|
||||
const propID = +propName || nameToId(propName);
|
||||
if (!propID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue