刚用react,引入百度地图时自动完成(地址提示)没下拉框提示

#1
 var ac = new BMap.Autocomplete(    //建立一个自动完成的对象
            {
                "Input" : "suggestId",
                "location" : map
            });
        ac.addEventListener("onhighlight", function(e) {  //鼠标放在下拉列表上的事件
            var str = "";
            var _value = e.fromitem.value;
            var value = "";
            if (e.fromitem.index > -1) {
                value = _value.province +  _value.city +  _value.district +  _value.street +  _value.business;
            }
            str = "FromItem<br />index = " + e.fromitem.index + "<br />value = " + value;

            value = "";
            if (e.toitem.index > -1) {
                _value = e.toitem.value;
                value = _value.province +  _value.city +  _value.district +  _value.street +  _value.business;
            }
            str += "<br />ToItem<br />index = " + e.toitem.index + "<br />value = " + value;
            G("searchResultPanel").innerHTML = str;
        });




 render(){
        
        return(
            <div>
                <div id="r-result">请输入:<Input type="text" id="suggestId"  size="20" placeholder="请输入地址" style={{width:"150px"}} /></div>
                <div id="searchResultPanel" style={{border:"1px solid #C0C0C0",width:"150px",height:"auto",display:"none"}}></div>
                <div id="allmap" style={{width: '40vw', height: '30vh'}}></div>
            </div>
        )
    }

效果图:

没有下拉提示,也不是被覆盖了。有没有大神指导指导???