修复sqlite数据操作类型

This commit is contained in:
whyour
2022-01-08 01:09:38 +08:00
parent 4310f80ec0
commit 08aaeb6372
21 changed files with 199 additions and 217 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ const CronLogModal = ({
request
.get(`${config.apiPrefix}crons/${cron.id}/log`)
.then((data: any) => {
if (localStorage.getItem('logCron') === cron.id) {
if (localStorage.getItem('logCron') === String(cron.id)) {
const log = data.data as string;
setValue(log || '暂无日志');
setExecuting(