Allow node ajax functions to send URL params.

This commit is contained in:
Aditya Toshniwal 2021-07-14 17:41:21 +05:30 committed by Akshay Joshi
parent 5dd1ada8dd
commit 47855eae0b

View File

@ -86,7 +86,9 @@ export function getNodeAjaxOptions(url, nodeObj, treeNodeInfo, itemNodeData, par
var data = cacheNode.cache(nodeObj.type + '#' + url, treeNodeInfo, cacheLevel);
if (_.isUndefined(data) || _.isNull(data)) {
api.get(fullUrl)
api.get(fullUrl, {
params: otherParams.urlParams,
})
.then((res)=>{
data = res.data.data;
cacheNode.cache(nodeObj.type + '#' + url, treeNodeInfo, cacheLevel, data);