Update index.js

This commit is contained in:
Xwite 2022-01-23 17:48:40 +08:00 committed by GitHub
parent 6cdc15b43c
commit eb845ea7b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);