git_pull 重构,样式优化

This commit is contained in:
whyour
2021-04-01 23:50:24 +08:00
parent 4ca49edf01
commit d5b9bca68b
12 changed files with 278 additions and 290 deletions
+2 -2
View File
@@ -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));
};