fix(registry): use window.open instead of router.push

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-18 14:00:01 +07:00
parent 6b0d3b9887
commit 4af1421770
4 changed files with 22 additions and 7 deletions

View file

@ -82,10 +82,11 @@ async function fetchProfile(id: string, avatarName: string) {
* function rediract ไปทะเบยนประว
*/
function redirecToRegistry() {
router.push(
window.open(
`/registry${props.employeeClass ? props.employeeClass : "-officer"}/${
profileId.value
}`
}`,
"_blank"
);
modal.value = false;
}