Suggestion: Each prompt will generate a p container with class popover, so you only need to bind a click event on the body to destroy the p with class popover. It is worth noting that the bubbling of the click event of the target object must be cancelled.
Suggestion:
Each prompt will generate a p container with class popover, so you only need to bind a click event on the body to destroy the p with class popover. It is worth noting that the bubbling of the click event of the target object must be cancelled.
Reference