You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
element-bot
changed the title
在el-form-item中,el-switch后跟el-checkbox无法显示
In El form item, El switch followed by El checkbox cannot be displayed
May 16, 2021
< El form item label = "status" >
<el-switch v-model="form.State" active-color="#13ce66" inactive-color="#666" :active-text="form.State==1?' Show ':'hide' ": active value =" 1 ": inactive value =" 0 "/ >
< El checkbox V-model = "form. Checked" > recommended < / El checkbox >
When executed in this way, only one El switch control is displayed instead of the El check box control. Correct should be both
Element UI version
2.15.1
OS/Browsers version
windows 10 / Chrome 90.0.4430.212
Vue version
2.6.12
出现的问题是,在el-form-item中,el-switch后面再加一个el-checkbox,出现el-checkbox无法显示,代码如下:
这样执行出来,el-checkbox控件不显示,只显示一个el-switch控件。正确应该是两个都显示
The text was updated successfully, but these errors were encountered: