In the Vue project, iviewiew is used. When opening the modal pop-up window, the style of "padding right: 15px; overflow: hidden;" is added to the body to prevent the page from scrolling when opening the pop-up window. However, when closing the modal pop-up window, this style is not removed, which makes the page with scrollbar unable to scroll
There is a scrollable property, but after configuration, when the modal pop-up window is opened, the page can also scroll. I still don't want to scroll the page when the pop-up window is opened
Do you have any public solutions?