PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { defineComponent, onMounted, ref } from 'vue'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { tools } from '@tools'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useProducts } from '@store/Products'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
@@ -35,13 +35,13 @@ export default defineComponent({
|
||||
// Inizializza
|
||||
console.log('created productInfo')
|
||||
console.log($route)
|
||||
if (!!$route.params.idprod) {
|
||||
if ($route.params.idprod) {
|
||||
id.value = $route.params.idprod.toString()
|
||||
}
|
||||
if (!!$route.params.idprod) {
|
||||
if ($route.params.idprod) {
|
||||
cosa.value = tools.strToVal($route.params.cosa.toString())
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
Reference in New Issue
Block a user