|
|
|
@ -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,
|
|
|
|
|