Environment
iview@3.1.2 vue@2.5.16 IE10
Reproduction link
https://run.iviewui.com/6FCmB7hj
Steps to reproduce
IE10 浏览器中打开 Select 组件
What is expected?
iview@3.1.2 vue@2.5.16 IE10
What is actually happening?
IE 10 未设置Select 组件属性:“transfer”未设置为true时能正常展示
影响的组件有:date-picker 、 dropdown 、select ,希望能尽快修复
解决方案:
将:
“if (el.dataset && el.dataset.transfer !== 'true') return false;”
改为:
var transfer=el.getAttribute('data-transfer');
if (!transfer || transfer !== 'true') return false;
1条答案
按热度按时间jchrr9hc1#
Translation of this issue:
Environment
Iview@3.1.2 vue@2.5.16 IE10
Reproduction link
https://run.iviewui.com/6FCmB7hj
Steps to reproduce
Open Select components in IE10 browser
What is expected?
Iview@3.1.2 vue@2.5.16 IE10
What is actually happening?
IE 10 does not set the Select component property: "transfer" can be displayed when it is not set to true.
The components are date-picker, dropdown and select, hoping to repair them as soon as possible.
Solution:
Will:
"If (el.dataset & el.dataset.transfer! = ='true') return false;"
Change to:
Var transfer=el.getAttribute ('data-transfer');
If (transfer! Transfer! = ='true') return false;