web socket แจ้งหลัง clone เสร็จ
This commit is contained in:
parent
b2635d0afb
commit
b22a0b59c4
2 changed files with 70 additions and 3 deletions
|
|
@ -178,7 +178,9 @@ watch(
|
|||
* ดึงข้อมูลโครงสร้างและรายการประวัติโครงสร้าง
|
||||
*/
|
||||
onMounted(async () => {
|
||||
store.typeOrganizational = "current";
|
||||
const type = localStorage.getItem('org_type') ?? "current";
|
||||
store.typeOrganizational = type;
|
||||
localStorage.removeItem('org_type');
|
||||
await Promise.all([fetchOrganizationActive(), fetchHistory()]);
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue