mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
chore: update
This commit is contained in:
@@ -45,8 +45,7 @@ function nodeClick(value) {
|
||||
}
|
||||
|
||||
function toggleRowExpansionAll(status) {
|
||||
// @ts-expect-error
|
||||
let nodes = proxy.$refs["treeRef"].store._getAllNodes();
|
||||
let nodes = (proxy.$refs["treeRef"] as any).store._getAllNodes();
|
||||
for (var i = 0; i < nodes.length; i++) {
|
||||
nodes[i].expanded = status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user