Dashboard completed. Demo files added
This commit is contained in:
11
src/layout/service/NodeService.js
Executable file
11
src/layout/service/NodeService.js
Executable file
@@ -0,0 +1,11 @@
|
||||
export default class NodeService {
|
||||
|
||||
getTreeTableNodes() {
|
||||
return fetch('data/treetablenodes.json').then(res => res.json()).then(d => d.root);
|
||||
}
|
||||
|
||||
getTreeNodes() {
|
||||
return fetch('data/treenodes.json').then(res => res.json()).then(d => d.root);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user