明树Git Lab

Commit 885ef9af authored by zfp1's avatar zfp1

update

parent 51673c70
Pipeline #105983 passed with stage
in 3 seconds
...@@ -133,7 +133,7 @@ async function getResource(req, res, next) { ...@@ -133,7 +133,7 @@ async function getResource(req, res, next) {
let tree = await utils.buildTree2(ressinfos, {keyName: 'key', parentKeyName: 'parentKey'}) let tree = await utils.buildTree2(ressinfos, {keyName: 'key', parentKeyName: 'parentKey'})
ress.resourceInfos = tree; ress.resourceInfos = tree;
} }
return res.sendData(ret); return res.sendData(ress);
} catch (error) { } catch (error) {
next(error); next(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