vue3.0中使用ref,并且调用elementPlus里面的tree树形组件里面的getCheckedNodes方法
import{defineComponent,reactive,toRefs,watch,ref,Ref}from'vue';setup(props,{emit}){consttreeRef:Ref=ref(null);functiondataDetermination(){letnameListHandle:Array=treeRef.value.getCheckedNodes();return