1. After clicking the OK button, immediately set the OK button to a non-clickable state and do not release it until it is completed. 2. "Two identical data will appear" - what does this refer to, is it stored in the database?
If it is stored in a database, you can control it so that the second duplicate item is not added.
If it is a network request, cancel the first one when sending the second request.
1. After clicking the OK button, immediately set the OK button to a non-clickable state and do not release it until it is completed.
2. "Two identical data will appear" - what does this refer to, is it stored in the database?
If it is stored in a database, you can control it so that the second duplicate item is not added.
If it is a network request, cancel the first one when sending the second request.