fix: fetch tokenParsed

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-26 17:04:10 +07:00
parent 7004fcac1d
commit f7dede6efd
5 changed files with 13 additions and 52 deletions

View file

@ -464,9 +464,9 @@ function checkhideBtnAction(keycloakID: string) {
* งขอมลรายชอผใชงาน
*/
onMounted(async () => {
await fetchOrganizationActive();
const token = await tokenParsed();
tokenParsedData.value = token.role || [];
await fetchOrganizationActive();
});
</script>