forked from Gitlink/forgeplus-react
This commit is contained in:
parent
6ea82be73a
commit
1250a9b10b
|
@ -70,9 +70,9 @@ function Params(props){
|
|||
// 删除
|
||||
function deleteMouldFunc(id,name){
|
||||
if(id && name){
|
||||
const url = `/ci/secrets/${id}/${name}.json`;
|
||||
const url = `/ci/secrets/${id}.json`;
|
||||
axios.delete(url,{
|
||||
params:{owner,repo:projectsId}
|
||||
params:{owner,repo:projectsId,name}
|
||||
}).then(result=>{
|
||||
if(result){
|
||||
Init();
|
||||
|
|
Loading…
Reference in New Issue