vue中axios 的delete和post,put在傳值上有點區別post和put有三個引數,url,data和config,所以在使用這兩個時,可以寫成axios.post(api,{id:1}) ...
確定! 回上一頁