![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
element-ui
小豆芽瞄
随心就好
展开
-
关于el-cascader 级联选择器的用法及接口取值赋值
级联选择器的基本用法可以参考官网(如果对于以下代码中的字段属性有疑虑的可以查看官网中其属性的具体用法)Element - The world's most popular Vue UI frameworkfilterableplaceholder="请选择":options="countryOptions":props="countryObj":show-all-levels="true"ref='countrySelectRef'@change="handleCountryChang原创 2021-11-30 11:56:31 · 8077 阅读 · 1 评论 -
记录el-cascader 级联选择器踩的坑
遇到的问题:级联选择器单选选择两次才会在input框回显数据先设置props的属性值 checkStrictly为 true props.checkStrictly = true来设置父子节点取消选中关联,从而达到选择任意一级选项的目的。如若还是无法显示,则不要加 v-model 即可...原创 2021-11-30 11:40:47 · 1631 阅读 · 5 评论