代码优化
This commit is contained in:
@@ -63,8 +63,8 @@ const NewMomentsSync: React.FC = () => {
|
||||
if (res) {
|
||||
setFormData({
|
||||
taskName: res.name,
|
||||
startTime: res.timeRange?.start || "06:00",
|
||||
endTime: res.timeRange?.end || "23:59",
|
||||
startTime: res.config?.startTime || "06:00",
|
||||
endTime: res.config?.endTime || "23:59",
|
||||
syncCount: res.config?.syncCount || res.syncCount || 5,
|
||||
syncInterval: res.config?.syncInterval || res.syncInterval || 30,
|
||||
syncType: res.config?.syncType,
|
||||
|
||||
Reference in New Issue
Block a user