fix: time range when generate link (#453)

This commit is contained in:
周小杰 2025-03-06 15:47:55 +08:00 committed by GitHub
parent 79ec865ee7
commit 012ae1db6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,7 @@ limitations under the License. -->
opt.auto = Number(f.value) * 60 * 60 * 1000;
}
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);