fix fetch StructrueTree
This commit is contained in:
parent
74fa0f664c
commit
e8c830454a
3 changed files with 59 additions and 17 deletions
|
|
@ -28,6 +28,9 @@ export const useStructureTree = defineStore("structureTree", () => {
|
|||
* @returns ข้อมูลโครงสร้าง
|
||||
*/
|
||||
async function fetchStructureTree(sysKey: string, isLoad: boolean = false) {
|
||||
console.log(sysKey);
|
||||
console.log(dataStore.value);
|
||||
|
||||
if (dataStore.value[sysKey]) {
|
||||
return dataStore.value[sysKey] || [];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue