修复定时任务不展示

This commit is contained in:
whyour committed 2021-04-02 09:40:59 +08:00
1 parent 16ad626b43
commit 870e90fc2a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ const Crontab = () => {
request
.get(`${config.apiPrefix}config/crontab`)
.then((data) => {
setValue(data.content);
setValue(data.data);
})
.finally(() => setLoading(false));
};
+1 -1
View File
@@ -15,7 +15,7 @@ const Crontab = () => {
const getConfig = () => {
setLoading(true);
request
.get(`${config.apiPrefix}config/diy`)
.get(`${config.apiPrefix}config/extra`)
.then((data) => {
setValue(data.data);
})