forked from Gitlink/forgeplus-react
This commit is contained in:
parent
d1232be557
commit
10db5271d7
|
@ -183,8 +183,8 @@ function New(props, ref) {
|
|||
}
|
||||
if(forumId){
|
||||
// 编辑保存
|
||||
const url = `/memos/${forumId}/update.json`;
|
||||
axios.post(url, params).then((result) => {
|
||||
const url = `/memos/${forumId}.json`;
|
||||
axios.put(url, params).then((result) => {
|
||||
if (result && result.data) {
|
||||
notification.open({
|
||||
message: "提示",
|
||||
|
|
Loading…
Reference in New Issue