yue1123 / vue3-baidu-map-gl

🎉百度地图 GL版 Vue3 组件库,baidu map gl components libary based on Vue3.0
https://yue1123.github.io/vue3-baidu-map-gl/
MIT License
378 stars 45 forks source link

BAutoComplete 自动填充组件 用不了,控制台报错 #101

Closed CaptainYuan closed 2 weeks ago

CaptainYuan commented 3 weeks ago

本地使用版本:2.5.0 报错信息:

[Vue3 BaiduMap GL/BMap]: Cannot read properties of null (reading 'top')
error   @   log.js?v=8b840948:11
(匿名)    @   index.vue.js?v=8b840948:179
Promise.catch       
init    @   index.vue.js?v=8b840948:179
(匿名)    @   chunk-JHBL2TDQ.js?v=8b840948:9659
callWithErrorHandling   @   chunk-JHBL2TDQ.js?v=8b840948:2009
callWithAsyncErrorHandling  @   chunk-JHBL2TDQ.js?v=8b840948:2016
hook.__weh.hook.__weh   @   chunk-JHBL2TDQ.js?v=8b840948:3895
flushPostFlushCbs   @   chunk-JHBL2TDQ.js?v=8b840948:2187
flushJobs   @   chunk-JHBL2TDQ.js?v=8b840948:2230
Promise.then        
queueFlush  @   chunk-JHBL2TDQ.js?v=8b840948:2124
queueJob    @   chunk-JHBL2TDQ.js?v=8b840948:2118
baseWatchOptions.scheduler  @   chunk-JHBL2TDQ.js?v=8b840948:6930
effect2.scheduler   @   chunk-JHBL2TDQ.js?v=8b840948:1075
trigger @   chunk-JHBL2TDQ.js?v=8b840948:1324
endBatch    @   chunk-JHBL2TDQ.js?v=8b840948:106
notify  @   chunk-JHBL2TDQ.js?v=8b840948:1440
trigger @   chunk-JHBL2TDQ.js?v=8b840948:1414
set value   @   chunk-JHBL2TDQ.js?v=8b840948:1752
finalizeNavigation  @   chunk-C4Y2VNCL.js?v=8b840948:2498
(匿名)    @   chunk-C4Y2VNCL.js?v=8b840948:2408
Promise.then        
pushWithRedirect    @   chunk-C4Y2VNCL.js?v=8b840948:2376
push    @   chunk-C4Y2VNCL.js?v=8b840948:2302

其实官网也看不到效果,一开始没关注,后面打开控制台看了一下,有一样的报错

image
yue1123 commented 2 weeks ago

感谢反馈,我会抽时间看下这个问题的。

yue1123 commented 2 weeks ago

升级 v2.6.0