-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[Bug Report] el-select err in electron-vue #10124
Comments
Translation of this issue: Element UI version2.2.1 OS/Browsers versionVue-electron 1.0.6 Vue version2.5.15 Reproduction Linkhttps://jsfiddle.net/mmx38qxw/ Steps to reproduceIt works in web, I cannot reproduct in jsfiddle El-select in electron-vue Make a mistake in the electron environment What is Expected?Select element as the result What is actually happening?[Vue warn]: Error in nextTick: "TypeError: _this12.$refs.reference.$el.getBoundingClientRect is not a function" [Vue warn]: Error in nextTick: "TypeError: Cannot read property'style'of undefined" |
抱歉,我们没人任何人有使用 vue-electron 的经验,目前当做 |
从报错来看,应该是因为使用了 2.5.14 版本的 Vue(参考#10093)。升级 Vue 到 2.5.15 试试。 |
搞定了 是这个原因 多谢 |
升级到2.5.15可以吗,我也遇到了这个问题 |
Element UI version
2.2.1
OS/Browsers version
vue-electron 1.0.6
Vue version
2.5.15
Reproduction Link
https://jsfiddle.net/mmx38qxw/
Steps to reproduce
it works in web,
i cannot reproduct in jsfiddle
just use
el-select in electron-vue
只是简单的把el-select 加在界面里面 没有增加任何处理
在electron 环境中报错
http://ww1.sinaimg.cn/large/3e646cdcly1fpa01sndoaj22j61ba7m3.jpg
What is Expected?
select element as the result
What is actually happening?
[Vue warn]: Error in nextTick: "TypeError: _this12.$refs.reference.$el.getBoundingClientRect is not a function"
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'style' of undefined"
http://ww1.sinaimg.cn/large/3e646cdcly1fpa01sndoaj22j61ba7m3.jpg
The text was updated successfully, but these errors were encountered: