แก้ path

This commit is contained in:
setthawutttty 2025-03-17 11:18:14 +07:00
parent 0295ec3e5f
commit 6da4d8efc8

View file

@ -554,6 +554,10 @@ async function getImg(id: string, pathName: string) {
profileImg.value = res.data.downloadUrl;
});
}
function onViewDetailNoti(url: string) {
window.open(url, "_blank");
}
</script>
<!-- โครงเว -->
@ -651,7 +655,7 @@ async function getImg(id: string, pathName: string) {
: 'caption q-pa-xs'
"
@click.stop.prevent="
n.payload ? $router.push(`/${n.payload}`) : ''
n.payload ? onViewDetailNoti(n.payload) : ''
"
>
<q-item