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