mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-26 00:46:07 +08:00
修复定时任务不展示
This commit is contained in:
parent
16ad626b43
commit
870e90fc2a
|
@ -17,7 +17,7 @@ const Crontab = () => {
|
||||||
request
|
request
|
||||||
.get(`${config.apiPrefix}config/crontab`)
|
.get(`${config.apiPrefix}config/crontab`)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
setValue(data.content);
|
setValue(data.data);
|
||||||
})
|
})
|
||||||
.finally(() => setLoading(false));
|
.finally(() => setLoading(false));
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,7 +15,7 @@ const Crontab = () => {
|
||||||
const getConfig = () => {
|
const getConfig = () => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
request
|
request
|
||||||
.get(`${config.apiPrefix}config/diy`)
|
.get(`${config.apiPrefix}config/extra`)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
setValue(data.data);
|
setValue(data.data);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user