fix payload
This commit is contained in:
parent
c034236c20
commit
0ae6cadeea
1 changed files with 5 additions and 1 deletions
|
|
@ -238,6 +238,10 @@ const landingPageUrl = ref<string>(getLandingUrl());
|
||||||
function getLandingUrl() {
|
function getLandingUrl() {
|
||||||
return configParam.landingPageUrl;
|
return configParam.landingPageUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onViewDetailNoti(url: string) {
|
||||||
|
window.open(url, "_blank");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- โครงเว็บ -->
|
<!-- โครงเว็บ -->
|
||||||
|
|
@ -354,7 +358,7 @@ function getLandingUrl() {
|
||||||
: 'caption q-pa-xs'
|
: 'caption q-pa-xs'
|
||||||
"
|
"
|
||||||
@click.stop.prevent="
|
@click.stop.prevent="
|
||||||
item.payload ? $router.push(`/${item.payload}`) : ''
|
item.payload ? onViewDetailNoti(item.payload) : ''
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<q-item
|
<q-item
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue