mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
Update index.js
This commit is contained in:
parent
6cdc15b43c
commit
eb845ea7b9
@ -78,7 +78,6 @@ function rule2json() {
|
||||
Object.keys(RuleJSON).forEach(key => {
|
||||
RuleJSON[key] = $('#' + key).value;
|
||||
});
|
||||
//类型转换
|
||||
RuleJSON.lastUpdateTime = new Date().getTime();
|
||||
RuleJSON.customOrder = RuleJSON.customOrder == '' ? 0 : parseInt(RuleJSON.customOrder);
|
||||
RuleJSON.articleStyle = RuleJSON.articleStyle == '' ? 0 : parseInt(RuleJSON.articleStyle);
|
||||
|
Loading…
Reference in New Issue
Block a user