Skip to content

elementUI 日期选择控件无法正常使用. #6854

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

Closed
zsedcbm opened this issue Oct 19, 2017 · 8 comments
Closed

elementUI 日期选择控件无法正常使用. #6854

zsedcbm opened this issue Oct 19, 2017 · 8 comments

Comments

@zsedcbm
Copy link

zsedcbm commented Oct 19, 2017

Version

2.5.2

Reproduction link

https://jsfiddle.net/e6jvgge8/4/

Steps to reproduce

页面中如果引用的是 //unpkg.com/vue/dist/vue.js ,日期选择范围不能正常工作,无法选择日期
如果引用的是 //unpkg.com/[email protected]/dist/vue.js, 日期选择范围能够正常工作,可以选择日期
除了elementUI 外,同时使用了iview组件,发现里面的日期选择范围插件也不能正常工作,因此我怀疑是vue本身的bug导致的.

What is expected?

日期选择范围不能正常工作

What is actually happening?

可以正常选择日期范围

@yyx990803
Copy link
Member

怀疑没有用,请先到对应项目确认。

@zsedcbm
Copy link
Author

zsedcbm commented Oct 19, 2017

上面的例子就是最好的证明.
2.4.2 和 2.4.4 版本都能正常使用
2.5以上的版本都不能正常使用.

除了vue版本修改过以外,其他的都没有变过,
elementUI 和 iView 两个组件的日期选择控件都受同样的影响

@feichao
Copy link

feichao commented Oct 19, 2017

@zsedcbm 我这边测试没问题, 具体是什么问题?
1508406913215

@zsedcbm
Copy link
Author

zsedcbm commented Oct 20, 2017

@feichao
360极速浏览器(chrome 内核55.0.2883.87)中
使用新版的vue 日期无法选中,使用vue2.4.2版本的时候可以正常选择.
后来使用了chrome 61的浏览器,两个版本的vue都可以正常使用.
360

奇怪的一点是,我在 devtools中,下断点的时候,vue新版本也是能够正常运行的.去除断点,又出现问题了,不知道是浏览器内核版本低的问题,还是vue的问题.
default

@zsedcbm
Copy link
Author

zsedcbm commented Oct 20, 2017

@feichao
这两个也是反映的同样的问题
ElemeFE/element#7539
iview/iview#2122

@yyx990803
Copy link
Member

@yyx990803
Copy link
Member

看了下似乎只有在旧版本的 Chrome 里面有这个问题,在最新版本的浏览器里都没有问题的话,Vue 这边没有办法,需要库的作者去处理了。

@ben-wong
Copy link

ben-wong commented Sep 1, 2020

最新的85版的Chrome也遇到这个问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants