... 这个组件被当做一个叫 #root 的 <div> 装载到(append)页面的根节点上。 ... 一种解决方式是通过ReactDOM protals,将modal 放到一个div中, ...
確定! 回上一頁