New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
select选择器,label值不变 #71
Comments
由于设置了 |
@Leopoldthecoder 多谢,解决了 |
@Leopoldthecoder 写文档里? |
@QingWei-Li Vue本身的不需要写文档吧? |
其实文档里提了一句,可能不太明显,我想想怎么改一下 |
@csvwolf 不写的话出问题就赖 Element 🌚 |
@QingWei-Li -0-(逃2333 |
Leopoldthecoder ,按照你的方法,我同时在 onProvince 变化后处理一下 onCity 的值,发现出现第一个el-option的label值不变,还是不变, computed: { |
代码如下: |
@perfectyang 我按你说的写了个 Demo:https://jsfiddle.net/gL6mf2te/ ,看起来是正常的。你说的 label 值不变是指什么? |
抱歉, 我也有同样的问题。似乎在mac os 12.4里才会发生。 |
Implement NavMenu
el-select组件的onchange方法,执行this.$forceUpdate(); 重新渲染实例就好了 |
这是一个地区联动选择器,省级选择器选择后,市级的el-select选择器会出现第一个el-option的label值不变,value有变的情况
The text was updated successfully, but these errors were encountered: