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

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

 

 赋值为数组就可以了~

posted @ 2020-05-08 08:31  仓鼠爱画方格子  阅读(5364)  评论(0编辑  收藏  举报