mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 01:14:50 +08:00
修复定时任务不展示
This commit is contained in:
@@ -17,7 +17,7 @@ const Crontab = () => {
|
||||
request
|
||||
.get(`${config.apiPrefix}config/crontab`)
|
||||
.then((data) => {
|
||||
setValue(data.content);
|
||||
setValue(data.data);
|
||||
})
|
||||
.finally(() => setLoading(false));
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user