PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
import { defineComponent, onMounted, PropType, ref, watch } from 'vue'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { toolsext } from '@src/store/Modules/toolsext'
|
||||
import { computed } from 'vue'
|
||||
import { INotif } from 'model'
|
||||
import type { INotif } from 'model'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
import { useRouter } from 'vue-router'
|
||||
import MixinUsers from '@/mixins/mixin-users'
|
||||
import MixinUsers from '@src/mixins/mixin-users'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CNotifAtTop',
|
||||
props: {
|
||||
},
|
||||
components: { },
|
||||
components: {},
|
||||
setup(props, { emit }) {
|
||||
const q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
@@ -54,7 +54,7 @@ export default defineComponent({
|
||||
|
||||
function clickNotif(notif: INotif) {
|
||||
if (notif.openUrl) {
|
||||
let mylink = tools.updateQueryStringParameter(notif.openUrl, 'idnotif', notif._id)
|
||||
const mylink = tools.updateQueryStringParameter(notif.openUrl, 'idnotif', notif._id)
|
||||
console.log('mylink', mylink, notif._id)
|
||||
if (mylink) {
|
||||
$router.replace(mylink)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
: t('circuit.ris_in_arrivo')
|
||||
"
|
||||
@click="shownotif = true"
|
||||
icon-right="img: images/1ris_rosso_100.png"
|
||||
icon-right="img: /images/1ris_rosso_100.png"
|
||||
rounded
|
||||
color="positive"
|
||||
></q-btn>
|
||||
@@ -17,7 +17,7 @@
|
||||
<q-dialog v-model="shownotif" :maximized="$q.screen.lt.sm">
|
||||
<q-card class="dialog_card">
|
||||
<q-bar class="bg-primary text-white">
|
||||
{{ $t('circuit.receive_coins') }}
|
||||
{{ $t("circuit.receive_coins") }}
|
||||
<q-space />
|
||||
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
||||
</q-bar>
|
||||
@@ -64,7 +64,7 @@
|
||||
<div class="row no-wrap justify-evenly q-pa-sm">
|
||||
<q-btn
|
||||
size="md"
|
||||
icon-right="img: images/1ris_rosso_100.png"
|
||||
icon-right="img: /images/1ris_rosso_100.png"
|
||||
:disable="notif.disablecoinclick"
|
||||
color="positive"
|
||||
:label="
|
||||
@@ -107,5 +107,5 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './CNotifAtTop.scss';
|
||||
@import "./CNotifAtTop.scss";
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user