设备树添加状态限制
This commit is contained in:
parent
b696915ec7
commit
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