我如何創建一個函數,以便當主體阻止滾動時,模式窗口中的內容滾動到頂部? [英]How can I create a function so that the content in a modal window scrolls to top when body prevents scroll?