แก้ path
This commit is contained in:
parent
0295ec3e5f
commit
6da4d8efc8
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue