Skip to content

Commit

Permalink
fix(qingwapt): 增加空值情况判断
Browse files Browse the repository at this point in the history
  • Loading branch information
manone2077 authored and ted423 committed Jan 8, 2025
1 parent 77c0f91 commit a274eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/sites/qingwapt.com/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
"seedingSize": {
"selector": "div:first",
"filters": [
"query.text().split('|')[1].slice(5).trim().sizeToNumber()"
"(query && query.text().length>0)?query.text().split('|')[1].slice(5).trim().sizeToNumber():0"
]
}
}
Expand Down

0 comments on commit a274eca

Please sign in to comment.