element
element copied to clipboard
[Bug Report] select 下拉选择,单选多选切换的时候,会提示 vue.js:597 [Vue warn] 并且会提示 Error in beforeDestroy hook: "TypeError: i.indexOf is not a function"
Element UI version
2.15.9
OS/Browsers version
window 10 / Google Chrome 103.0.5042.0(正式版本) (64 位)
Vue version
2.5.16
Reproduction Link
https://codepen.io/wuxinTongXue/pen/yLKoQwO
Steps to reproduce
需求:
两个并排的下拉选择,后面的那个需要随着前面选中的数据,去请求数据
并且可能是多选,可能是单选
复现步骤
1、多次切换第一个下拉选择的选中数据(大概四五次就可以复现一次)
What is Expected?
单选多选互相切换,不报错
What is actually happening?
单选多选互相切换,提示 vue.js:597 [Vue warn] 并且会提示 Error in beforeDestroy hook: "TypeError: i.indexOf is not a function"