import { Tree } from ‘element-ui‘ const ref = <Tree>this.$refs.tree ref.getCheckedNodes()
vue element-ui typescript tree报错 === Property 'getCheckedNodes' does not exist on type 'Element | Element[] | Vue | Vue[]'.
原文地址:https://www.cnblogs.com/cynthia-wuqian/p/11429794.html
时间: 2024-10-10 18:40:34