使用sqlite替换nedb

This commit is contained in:
whyour
2022-01-06 22:51:12 +08:00
parent 653b1cef20
commit 5d19ee0ab5
38 changed files with 1040 additions and 856 deletions
+2 -2
View File
@@ -36,9 +36,9 @@ const CronLogModal = ({
setLoading(true);
}
request
.get(`${config.apiPrefix}crons/${cron._id}/log`)
.get(`${config.apiPrefix}crons/${cron.id}/log`)
.then((data: any) => {
if (localStorage.getItem('logCron') === cron._id) {
if (localStorage.getItem('logCron') === cron.id) {
const log = data.data as string;
setValue(log || '暂无日志');
setExecuting(