When using el-tree to write batch deletion, the error is as follows:
TypeError: Cannot read properties of undefined (reading 'getCheckedNodes')
solve:
The main reason is that <el-tree> is missing a line of code, just add ref="tree"
When using el-tree to write batch deletion, the error is as follows:
TypeError: Cannot read properties of undefined (reading 'getCheckedNodes')
solve:
The main reason is that <el-tree> is missing a line of code, just add ref="tree"