fix payload

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-03 16:50:02 +07:00
parent c034236c20
commit 0ae6cadeea

View file

@ -238,6 +238,10 @@ const landingPageUrl = ref<string>(getLandingUrl());
function getLandingUrl() {
return configParam.landingPageUrl;
}
function onViewDetailNoti(url: string) {
window.open(url, "_blank");
}
</script>
<!-- โครงเว -->
@ -354,7 +358,7 @@ function getLandingUrl() {
: 'caption q-pa-xs'
"
@click.stop.prevent="
item.payload ? $router.push(`/${item.payload}`) : ''
item.payload ? onViewDetailNoti(item.payload) : ''
"
>
<q-item