fix: time range when generate link

This commit is contained in:
rjzhou3 2025-03-06 15:34:01 +08:00
parent 79ec865ee7
commit c086181f71

View File

@ -126,7 +126,7 @@ limitations under the License. -->
opt.auto = Number(f.value) * 60 * 60 * 1000; opt.auto = Number(f.value) * 60 * 60 * 1000;
} }
if (f.step === TimeType.DAY_TIME) { if (f.step === TimeType.DAY_TIME) {
opt.auto = Number(f.value) * 60 * 60 * 60 * 1000; opt.auto = Number(f.value) * 24 * 60 * 60 * 1000;
} }
} }
const config = JSON.stringify(opt); const config = JSON.stringify(opt);