dev_cs_new
hjm 6 years ago
parent 96126fd7dd
commit 9b6836fc70

@ -267,7 +267,7 @@ return function wrap(WrappedComponent) {
this.setTop(memo);
}
onMemoDelete(memo) {
const deleteUrl = `/api/v1/memos/${memo.id}`;
const deleteUrl = `/memos/${memo.id}.json`;
// 获取memo list
axios.delete(deleteUrl, {
// withCredentials: true,

Loading…
Cancel
Save