|
methods: {
changeData: function () {
debugger;
this.fields = {
dataSource: newData,
id: "id",
parentID: "pid",
text: "name",
hasChildren: "hasChild",
};
},
},
|
|
this.fields = {
dataSource: localData,
id: "id",
parentID: "pid",
text: "name",
hasChildren: "hasChild",
}; |