:data="treeList" node-key="wliId" :props="defaultPropsList" @node-click="getTypeList(scope.$index)" > {{ node.label }} </el-tree> </el-option> </el-select> </template> </el-table-column> (4)編寫getTypeList(scope.$index),這個方法才是核心,大家按照這個邏輯改一下ref的名字還有數(shù)據(jù)...
www.dbjr.com.cn/article/2727...htm 2025-4-13