This commit is contained in:
caishi 2021-05-12 09:32:33 +08:00
parent ee6961d02e
commit 8401a55e49
1 changed files with 1 additions and 1 deletions

View File

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