fixed carrello che scompariva...
This commit is contained in:
@@ -24,9 +24,11 @@ export default defineComponent({
|
||||
const userStore = useUserStore()
|
||||
const products = useProducts()
|
||||
const { t } = useI18n();
|
||||
const productStore = useProducts()
|
||||
|
||||
function mounted() {
|
||||
async function mounted() {
|
||||
// Inizializza
|
||||
await productStore.loadProducts()
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
@@ -81,7 +81,7 @@ export default defineComponent({
|
||||
})
|
||||
|
||||
function calcArrProducts() {
|
||||
console.log('calcArrProducts')
|
||||
// console.log('calcArrProducts')
|
||||
|
||||
refreshpage.value = true
|
||||
let arrprod = productStore.getProducts(cosa.value)
|
||||
|
||||
Reference in New Issue
Block a user