在从后台获取值之后回显的时候出现了问题,因为多选框的那个值本质上是数组,不是string

element-ui下拉多选报错Error in event handler for "handleOptionClick": "TypeError: value.push is not a function"

 

 赋值为数组就可以了~

相关文章:

  • 2021-10-29
  • 2021-10-30
  • 2021-09-21
  • 2021-07-18
  • 2021-06-18
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-29
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
相关资源
相似解决方案