Compare commits
2 Commits
4aa0bc0f5d
...
847647ece4
Author | SHA1 | Date | |
---|---|---|---|
847647ece4 | |||
dd7dc88a1a |
@ -1012,7 +1012,7 @@ export default {
|
|||||||
//加载动态数据的方法,仅在 lazy 为 true 时有效
|
//加载动态数据的方法,仅在 lazy 为 true 时有效
|
||||||
//function(node, resolve),node为当前点击的节点,resolve为数据加载完成的回调(必须调用)
|
//function(node, resolve),node为当前点击的节点,resolve为数据加载完成的回调(必须调用)
|
||||||
lazyLoad(node, resolve) {
|
lazyLoad(node, resolve) {
|
||||||
const queryParams = {};
|
const queryParams = { type: 1 };
|
||||||
const data = [];
|
const data = [];
|
||||||
if (node.value != null) {
|
if (node.value != null) {
|
||||||
queryParams.parentEquipId = node.value;
|
queryParams.parentEquipId = node.value;
|
||||||
|
@ -771,7 +771,7 @@ export default {
|
|||||||
//加载动态数据的方法,仅在 lazy 为 true 时有效
|
//加载动态数据的方法,仅在 lazy 为 true 时有效
|
||||||
//function(node, resolve),node为当前点击的节点,resolve为数据加载完成的回调(必须调用)
|
//function(node, resolve),node为当前点击的节点,resolve为数据加载完成的回调(必须调用)
|
||||||
lazyLoad(node, resolve) {
|
lazyLoad(node, resolve) {
|
||||||
const queryParams = {};
|
const queryParams = { type: 1 };
|
||||||
const data = [];
|
const data = [];
|
||||||
if (node.value != null) {
|
if (node.value != null) {
|
||||||
queryParams.parentEquipId = node.value;
|
queryParams.parentEquipId = node.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user