The problem of toastr, the more points, the more

Problems that arise:

When deleting a piece of data, a prompt will be given when finished: toastr.info("Deleted!")

When you continue to delete, two toastr will appear,

If you delete it again, there will be 3 toastrs, in short, the more points, the more.

I don't know if you have encountered such a situation.

The reason may be the delete method written in the modal box,

Solution: Move the delete method out of the pop-up modal box and write it outside

No solution, you can leave a message

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325373611&siteId=291194637