mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-12 03:10:48 +08:00
重构任务执行逻辑
This commit is contained in:
@@ -477,6 +477,13 @@ const Subscription = ({ headerStyle, isPhone, theme }: any) => {
|
||||
: 'subscription';
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (logSubscription) {
|
||||
localStorage.setItem('logSubscription', logSubscription.id);
|
||||
setIsLogModalVisible(true);
|
||||
}
|
||||
}, [logSubscription]);
|
||||
|
||||
useEffect(() => {
|
||||
getSubscriptions();
|
||||
}, [searchText]);
|
||||
@@ -541,7 +548,7 @@ const Subscription = ({ headerStyle, isPhone, theme }: any) => {
|
||||
handleCancel={() => {
|
||||
setIsLogModalVisible(false);
|
||||
}}
|
||||
cron={logSubscription}
|
||||
subscription={logSubscription}
|
||||
/>
|
||||
</PageContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user