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