Blame view

prestige-vue-4.0.0/src/service/NodeService.js 346 Bytes
5b5ab7e5   함상기   20240409
1
2
3
4
5
6
7
8
9
10
11
12
13
  export default class NodeService {
      getTreeTableNodes() {
          return fetch('demo/data/treetablenodes.json')
              .then((res) => res.json())
              .then((d) => d.root);
      }
  
      getTreeNodes() {
          return fetch('demo/data/treenodes.json')
              .then((res) => res.json())
              .then((d) => d.root);
      }
  }