新增学生时,默认展开全部树节点

dev_2022-05-11
yujialong 3 years ago
parent 42efdf6cef
commit e11fd1b00f
  1. 2
      src/pages/student/list/index.vue

@ -192,9 +192,9 @@
show-checkbox show-checkbox
node-key="id" node-key="id"
highlight-current highlight-current
default-expand-all
lazy lazy
:load="loadClassTree" :load="loadClassTree"
:default-expand-all="!isAdd"
:default-checked-keys="defaultCheckedKeys" :default-checked-keys="defaultCheckedKeys"
:filter-node-method="filterNode" :filter-node-method="filterNode"
:props="{children: 'children', label: 'organizationName', isLeaf: 'leaf'}" :props="{children: 'children', label: 'organizationName', isLeaf: 'leaf'}"

Loading…
Cancel
Save