mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复订阅添加定时规则
This commit is contained in:
1 parent
8c74fca362
commit
68e576a5e3
1 file changed
+5
-1
@@ -114,7 +114,11 @@ const SubscriptionModal = ({
|
||||
|
||||
const numberChange = (value: number) => {
|
||||
setIntervalNumber(value);
|
||||
onChange?.({ type: intervalType, value });
|
||||
if (!value) {
|
||||
onChange?.(null);
|
||||
} else {
|
||||
onChange?.({ type: intervalType, value });
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user