vue-jstree在这里https://github.com/zdy1988/vue-jstree
npm install vue-jstree --save
import VJstree from 'vue-jstree';
import axios from "axios";
axios.get('http://192.168.x.x/a2hs/treedata.php')
[{"id":1,"pid":0,"text":"node1","opened":0,"children":[{"id":43,"pid":1,"text":"node2","opened":0}...]}...]
header('Access-Control-Allow-Origin: *');