|
@@ -10,6 +10,7 @@ let getObjectKey = (object, value) => {
|
|
let name = ['modules', 'apps'];
|
|
let name = ['modules', 'apps'];
|
|
|
|
|
|
function query(list, tier, need) {
|
|
function query(list, tier, need) {
|
|
|
|
+ if (!list.some(v => v.systemname == tier[0])) return [];
|
|
// if (!list) return;
|
|
// if (!list) return;
|
|
if (list.length == 0) return;
|
|
if (list.length == 0) return;
|
|
//排除不是数组 在深入查找一级
|
|
//排除不是数组 在深入查找一级
|