设备树添加状态限制

This commit is contained in:
zhanghan11 2024-06-19 15:13:37 +08:00
parent b696915ec7
commit dd7dc88a1a
2 changed files with 2 additions and 2 deletions

View File

@ -1012,7 +1012,7 @@ export default {
// lazy true // lazy true
//function(node, resolve)noderesolve() //function(node, resolve)noderesolve()
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;

View File

@ -771,7 +771,7 @@ export default {
// lazy true // lazy true
//function(node, resolve)noderesolve() //function(node, resolve)noderesolve()
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;