fix(项目设置): 复制自定义代码片段问题

--bug=1018681 --user=李玉号 【项目设置】自定义代码片段-复制-报404
https://www.tapd.cn/55049933/s/1273590
This commit is contained in:
shiziyuan9527 2022-10-24 10:22:01 +08:00 committed by lyh
parent fa391e5f05
commit fdb945bc7a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export function deleteCodeSnippetById(id) {
}
export function copyCodeSnippetById(id) {
return get(`/custom/func/copy${id}`);
return get(`/custom/func/copy/${id}`);
}
export function getCodeSnippetById(id) {