web socket แจ้งหลัง clone เสร็จ

This commit is contained in:
setthawutttty 2025-07-07 17:43:44 +07:00
parent b2635d0afb
commit b22a0b59c4
2 changed files with 70 additions and 3 deletions

View file

@ -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>