Skip to content

[Bug Report] el-select err in electron-vue #10124

@cobola

Description

@cobola

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions