mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复订阅格式化参数
This commit is contained in:
parent
622fe2a8f8
commit
dbfa4049f5
|
@ -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),
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user