mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-07 09:14:32 +08:00
修改获取示例文件 api path
This commit is contained in:
@@ -64,7 +64,7 @@ const Diff = () => {
|
||||
const getFiles = () => {
|
||||
setLoading(true);
|
||||
request
|
||||
.get(`${config.apiPrefix}configs/sample`)
|
||||
.get(`${config.apiPrefix}configs/samples`)
|
||||
.then(({ code, data }) => {
|
||||
if (code === 200) {
|
||||
setFiles(data);
|
||||
|
||||
Reference in New Issue
Block a user