updated get tree by system

This commit is contained in:
Warunee Tamkoo 2024-08-20 10:39:17 +07:00
parent af56b950b1
commit ffde0fe79c
27 changed files with 128 additions and 72 deletions

View file

@ -276,7 +276,7 @@ async function getActive() {
async function getTreeData(id: string) {
showLoader();
await http
.get(config.API.orgByid(id))
.get(config.API.orgByIdSystem(id, route.meta.Key as string))
.then((res) => {
const data = res.data.result;
nodes.value = data;