[removed].reload not working for Firefox and Chrome

前端 未结 8 546
灰色年华
灰色年华 2020-12-08 15:44

I want to change the user status on click of a Button, so all I am doing is, detecting the current status and changing, if needed.

But in this case the changes the s

8条回答
  •  感动是毒
    2020-12-08 16:18

    Look this You can force the the reload to get the page from server by setting the forceGet parameter to true:

    location.reload(true);
    

提交回复
热议问题