forked from Gitlink/forgeplus-react
.json
This commit is contained in:
parent
ee6961d02e
commit
8401a55e49
|
@ -65,7 +65,7 @@ class ExchangeItem extends Component {
|
||||||
// 取消置顶+置顶
|
// 取消置顶+置顶
|
||||||
topEvent = (sticky,id) =>{
|
topEvent = (sticky,id) =>{
|
||||||
const { refresh } = this.props;
|
const { refresh } = this.props;
|
||||||
const url =`/memos/${id}/set_top_or_down`;
|
const url =`/memos/${id}/set_top_or_down.json`;
|
||||||
|
|
||||||
axios.get(url,{params:{
|
axios.get(url,{params:{
|
||||||
sticky:sticky ? 0 : 1
|
sticky:sticky ? 0 : 1
|
||||||
|
|
Loading…
Reference in New Issue