show方法不在指定位置
WanManito opened this issue · 0 comments
WanManito commented
期望结果
在disable状态下,我想自定义时机显示,通过this.$refs.contextmenu.show(Y,X);方法,传入top与left值,菜单在我知道位置显示
实际结果
实际显示位置不在我指定位置,而是一直处于浏览器左上角,也就是top与left为0
复现步骤
this.$refs.contextmenu.show(222,333);简单调用
环境说明
- 组件版本:2.8.1
Vue
版本:2.5.2- 操作系统及版本:window10 旗舰版
- 浏览器及版本:版本 78.0.3904.108(正式版本) (64 位)