Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BInfoWindow组件报错 #34

Closed
zogwosh opened this issue Jun 21, 2023 · 1 comment
Closed

BInfoWindow组件报错 #34

zogwosh opened this issue Jun 21, 2023 · 1 comment

Comments

@zogwosh
Copy link

zogwosh commented Jun 21, 2023

报错信息
`runtime-core.esm-bundler.js:41 [Vue warn]: Unhandled error during execution of watcher callback
at <BInfoWindow modelValue=true onUpdate:modelValue=fn enableMaximize="" ... >
at <BMap zoom=16 ak="cwHsf5i2fAQAlijOyELx5COtkFhItaSm" height="100vh" ... >
at
warn2 @ runtime-core.esm-bundler.js:41
runtime-core.esm-bundler.js:41 [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core
at <BInfoWindow modelValue=true onUpdate:modelValue=fn enableMaximize="" ... >
at <BMap zoom=16 ak="cwHsf5i2fAQAlijOyELx5COtkFhItaSm" height="100vh" ... >
at
warn2 @ runtime-core.esm-bundler.js:41
Show 1 more frame
VM190:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'config')
at d2.setPosition (eval at run (getscript?type=webgl&v=1.0&ak=cwHsf5i2fAQAlijOyELx5COtkFhItaSm&services=&t=20230613170744:5:126869), :1:11263)
at setPosition (index.vue.js?v=43191f0d:174:24)
at index.vue.js?v=43191f0d:99:17
at helper.js?v=43191f0d:9:13
at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:17)
at job (runtime-core.esm-bundler.js:1756:9)
at flushPreFlushCbs (runtime-core.esm-bundler.js:304:7)
at updateComponentPreRender (runtime-core.esm-bundler.js:5832:5)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5750:11)
client.ts:447

    GET http://localhost:5173/src/assets/main.css?t=1687321637195 net::ERR_ABORTED 404 (Not Found)

fetchUpdate @ client.ts:447
(anonymous) @ client.ts:159
handleMessage @ client.ts:157
(anonymous) @ client.ts:90
Show 4 more frames
client.ts:114 [hmr] Failed to reload /src/assets/main.css. This could be due to syntax errors or importing non-existent modules. (see errors above)
warnFailedFetch @ client.ts:114
fetchUpdate @ client.ts:453
await in fetchUpdate (async)
(anonymous) @ client.ts:159
handleMessage @ client.ts:157
(anonymous) @ client.ts:90
Show 5 more frames
client.ts:447

    GET http://localhost:5173/src/assets/main.css?t=1687321637196 net::ERR_ABORTED 404 (Not Found)

fetchUpdate @ client.ts:447
(anonymous) @ client.ts:159
handleMessage @ client.ts:157
(anonymous) @ client.ts:90
Show 4 more frames
client.ts:114 [hmr] Failed to reload /src/assets/main.css. This could be due to syntax errors or importing non-existent modules. (see errors above)`
目前我的临时解决方法是在BInfoWindow的setPosition中添加open()
复现demo
vue-project.zip

@yue1123
Copy link
Owner

yue1123 commented Jun 21, 2023

你的需求应该和这个 #23 差不多,可以参考一下。这个问题后续我复现修复一下

yue1123 added a commit that referenced this issue Jun 25, 2023
yue1123 added a commit that referenced this issue Jun 25, 2023
@yue1123 yue1123 closed this as completed Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants