mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
修复订阅格式化参数
This commit is contained in:
@@ -139,6 +139,7 @@ const SubscriptionModal = ({
|
||||
setIntervalNumber(value.value);
|
||||
}
|
||||
}, [value]);
|
||||
|
||||
return (
|
||||
<Input.Group compact>
|
||||
<InputNumber
|
||||
@@ -247,8 +248,8 @@ const SubscriptionModal = ({
|
||||
const formatParams = (sub) => {
|
||||
return {
|
||||
...sub,
|
||||
autoAddCron: isNil(sub.autoAddCron) ? true : Boolean(sub.autoAddCron),
|
||||
autoDelCron: isNil(sub.autoDelCron) ? true : Boolean(sub.autoDelCron),
|
||||
autoAddCron: isNil(sub?.autoAddCron) ? true : Boolean(sub?.autoAddCron),
|
||||
autoDelCron: isNil(sub?.autoDelCron) ? true : Boolean(sub?.autoDelCron),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user