When clicking the button to add content, if the network is stuck, clicking the button multiple times will send multiple requests and add multiple content. How should the front end handle it.
天蓬老师2017-05-19 10:12:22
Set the button to disabled when clicking send
Send a request
After requesting the callback (regardless of success or failure), set the button to be available
phpcn_u15822017-05-19 10:12:22
Disable the button after clicking it, wait for the network to respond, and then undisable it