首页 > 编程语言 >iView Cascader Cannot read properties of undefined (reading 'getCheckedNodes')"

iView Cascader Cannot read properties of undefined (reading 'getCheckedNodes')"

时间:2023-01-08 15:23:48浏览次数:36  
标签:undefined read getCheckedNodes Cannot reading properties

一、getCheckedNodes的使用

                        <Tree ref="tree" :data="baseData" :multiple="true" @on-select-change="checkBoxSel" show-checkbox></Tree>

 

 加上 图中圈中的元素

再在方法中使用以下代码获取

             let treeNode = this.$refs.tree.getCheckedNodes()

成功取到 SUCCESS!!!!!!!!!

 

标签:undefined,read,getCheckedNodes,Cannot,reading,properties
From: https://www.cnblogs.com/mangoubiubiu/p/17034715.html

相关文章

  • 使用ThreadPoolExecutor and schedule进行创建线程池(多线程-定时任务-数据同步-任务队
    使用ThreadPoolExecutorandschedule进行创建线程池(多线程-定时任务-数据同步-任务队列)#使用ThreadPoolExecutorandschedule进行创建线程池(多线程-定时任务-数据同步-......
  • readlink realpath
     readlink默认检查参数是否存在,realpath不会检查    readlink直接读取非symlink报错,读取symlink只解析第一级symlinkrealpath可直接解析symlink和非s......
  • Spring5 IOC容器解析——BeanDefinitionReader
    概述BeanDefinitionReader的作用是读取Spring配置文件中的内容,将其转换为IOC容器内部的数据结构:BeanDefinition。在前面章节关于BeanDefinition的学习中有提到XmlB......
  • PAT A1082:Read Number in Chinese
    题目内容Givenanintegerwithnomorethan9digits,youaresupposedtoreaditinthetraditionalChineseway.OutputFufirstifitisnegative.Forexampl......
  • Bread
    Bread题解:哈夫曼树模型该题目是给出根节点,求出其WPL,但是我们要仔细阅读,题目说面包是可以被剩余的,所以我们只要将剩余的面包当成子节点放进队列即可#include<bits/std......
  • Proj Unknown Paper Reading: SAILFISH: Vetting Smart Contract State-Inconsistency
    Abstract本文:SAILFISHTASK:findstate-inconsistencybugsinsmartcontractsMethod:ahybridapproach,1.alightweightexplorationphase2.一种新的value-su......
  • SpringBoot笔记--Failed to read candidate component class报错的解决
    问题解决形成该错误的原因就是Spring依赖和我们所使用的JDK版本不匹配更详细一点的话,要解决这个问题,我们就需要升高Spring版本或者降低JDK版本即可解决否则不能够在网页......
  • 关于Feign报错:feign.FeignException: status 400 reading
    feign.FeignException:status400reading 一、问题feign请求接口报400二、解决方法因为前面接口调用的时候是好的,后面增加了很多参数传递,然后就报了400;经过排查字......
  • ThreadLocal
    ThreadLocal概述概述ThreadLocal类用来提供线程内部的局部变量,不同的线程之间不会相互干扰这种变量在多线程环境下访问(通过get和set方法访问)时能保证各个线程的变量相......
  • 启动Tomcat报错:Address localhost:1099 is already in use
    启动Tomcat报错信息显示1099端口被占用:1.查看占用该端口的程序的PID:netstat-ano|findstr"1099"2.得到PID为23204,进而查找该程序的名称tasklist|findstr"2......