element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] 使用select组件,设置为multiple时,将v-model设置为某个计算属性时,无法正确地触发set动作

Open mingbai2006 opened this issue 9 years ago • 5 comments

Element UI version

1.2.9

OS/Browsers version

Chrome57

Vue version

2.3.1

Reproduction Link

https://jsfiddle.net/r19kf686/

Steps to reproduce

使用select组件,设置为multiple时,将v-model设置为某个计算属性

What is Expected?

无法正确地触发set动作,可以看到无法更改value5的值

What is actually happening?

无法正确地触发set动作,可以看到无法更改value5的值

mingbai2006 avatar May 02 '17 10:05 mingbai2006

Translation of this issue:

Element UI version

1.2.9

OS/Browsers version

Chrome57

Vue version

2.3.1

Reproduction Link

https://jsfiddle.net/r19kf686/

Steps to reproduce

When using the select component, set to multiple, set the V-model to a calculated property

What is Expected?

Unable to properly trigger the set action, you can see that the value of value5 cannot be changed

What is actually happening?

Unable to properly trigger the set action, you can see that the value of value5 cannot be changed

element-bot avatar May 02 '17 10:05 element-bot

single select is not working neither

Element UI version 1.2.9 OS/Browsers version Firefox 51.0.1 Vue version 2.3.1 Reproduction Link https://jsfiddle.net/9tw07m3s/

paulvl avatar May 02 '17 16:05 paulvl

mine too... is this a Vue version problem or what?

maverickchangithub avatar May 02 '17 23:05 maverickchangithub

me too!! this components doesn't work in my project!

JsonMa avatar May 04 '17 03:05 JsonMa

@paulvl @maverickchangithub @JsonMa please search existing issues, and don't comment on irrelevant ones.

@mingbai2006 1.3.0-beta has fixed this: https://jsfiddle.net/r19kf686/1/

Leopoldthecoder avatar May 04 '17 04:05 Leopoldthecoder