明树Git Lab

Commit aaa1b3f6 authored by zfp1's avatar zfp1

update

parent f5719999
Pipeline #104377 passed with stage
in 2 seconds
......@@ -242,7 +242,7 @@ async function listResourceAll(req, res, next) {
if (element.type == 2) {
element.resourcesInfos = utils.buildTree2(element.resourcesInfos, 'code', 'parentCode');
}
obj[element.key] = {type: element.type, resourceInfos: element.resourceInfos || []};
obj[element.key] = element.resourceInfos || [] //{type: element.type, resourceInfos: element.resourceInfos || []};
}
return res.sendData(obj)
} catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment