Update index.js

pull/1551/head
Xwite 3 years ago committed by GitHub
parent 6cdc15b43c
commit eb845ea7b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/src/main/assets/web/rssSource/index.js

@ -78,7 +78,6 @@ function rule2json() {
Object.keys(RuleJSON).forEach(key => { Object.keys(RuleJSON).forEach(key => {
RuleJSON[key] = $('#' + key).value; RuleJSON[key] = $('#' + key).value;
}); });
//类型转换
RuleJSON.lastUpdateTime = new Date().getTime(); RuleJSON.lastUpdateTime = new Date().getTime();
RuleJSON.customOrder = RuleJSON.customOrder == '' ? 0 : parseInt(RuleJSON.customOrder); RuleJSON.customOrder = RuleJSON.customOrder == '' ? 0 : parseInt(RuleJSON.customOrder);
RuleJSON.articleStyle = RuleJSON.articleStyle == '' ? 0 : parseInt(RuleJSON.articleStyle); RuleJSON.articleStyle = RuleJSON.articleStyle == '' ? 0 : parseInt(RuleJSON.articleStyle);

Loading…
Cancel
Save