Warning: You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.
原因: ReactDOM.createRoot(document.getElementById('root')) 重复绑定,根元素不能重复绑定