0
点赞
收藏
分享

微信扫一扫

element的cascader的级联click无反应

他说Python 2021-10-09 阅读 23
日记本

问题:


第二级和第三级的内容并没有显示出来
代码:

                            <el-cascader
                                    ref="cascader"
                                    v-model="uploadForm1.cascadeValue"
                                    :options="options"
                                    :props="{ checkStrictly: true}"
                                    @change="handleChange"
                                    size="small"
                                    clearable
                            ></el-cascader>

修改为:

                            <el-cascader
                                    ref="cascader"
                                    v-model="uploadForm1.cascadeValue"
                                    :options="options"
                                    :props="{ checkStrictly: true, expandTrigger: 'hover'}"
                                    @change="handleChange"
                                    size="small"
                                    clearable
                            ></el-cascader>

就成功了

举报

相关推荐

0 条评论