เเก้ฟิลเตอร์ส่วนราชการ
This commit is contained in:
parent
1a65afdebc
commit
c27a4a1c19
2 changed files with 7 additions and 2 deletions
|
|
@ -345,11 +345,14 @@ function clearSelect(t: string) {
|
|||
*/
|
||||
async function fetchTree() {
|
||||
const data = await fetchStructureTree(route.meta.Key as string);
|
||||
if (store.routerName !== route.name) {
|
||||
store.formFilter.node = null;
|
||||
store.formFilter.nodeId = null;
|
||||
store.routerName = route.name ? route.name : "";
|
||||
}
|
||||
if (data) {
|
||||
isLoad.value = true;
|
||||
node.value = data;
|
||||
store.formFilter.node = nodeData.node;
|
||||
store.formFilter.nodeId = nodeData.nodeId;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue