mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 10:39:20 +08:00
git_pull 重构,样式优化
This commit is contained in:
@@ -16,7 +16,7 @@ const Crontab = () => {
|
||||
|
||||
const getConfig = () => {
|
||||
request.get(`${config.apiPrefix}config/config`).then((data) => {
|
||||
setValue(data.content);
|
||||
setValue(data.data);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ const Crontab = () => {
|
||||
request
|
||||
.get(`${config.apiPrefix}config/sample`)
|
||||
.then((data) => {
|
||||
setSample(data.content);
|
||||
setSample(data.data);
|
||||
})
|
||||
.finally(() => setLoading(false));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user