<div id="test"></div>
const address = ['北京', '上海', '深圳', '厦门', '西安']
const domContainer = document.querySelector('#test')
const VDOM = (
<div>
<h1>地址</h1>
<ul>
{address.array.map((item, index) => {
return <li key={index}>{item}</li>
})}
</ul>
</div>
)
ReactDOM.render(VDOM, domContainer)