im 'Получение следующего сообщения об ошибке на консоли браузера, как исправить и решить проблему? (Channel-DBL56L-E.JS: 9: 3233) AT GET Value (Channel-DBL56L-E.JS: 9: 15145) AT Object.Get [as Priceforcurrence] (Channel-DBL56L-E.JS: 14: 12773) At object.get (Channel-DBL56L-E.JS: 14: 10234) AT Cannel-DBL566: 14: 14: 14: 10234). AT HI (Channel-DBL56L-E.JS: 13: 1393) AT GN (Channel-DBL56L-E.JS: 13: 1456)
at xo.f.call (Channel-dbl56l-e.js: 14: 31575) Ошибка Channel-dbl56l-e.js: 13 t .__ Weh.t .__ Weh @ Channel-dbl56l-e.js: 14 d] (Channel-dbl56l-e.js: 14: 12773) "< /p>
< /blockquote>
//twig template
< /code>
//index.js file
data(){
return {
price: [],
purchasePrices: []
}
},
computed: {
defaultCurrency() {
return Shopware.Store.get('swProductDetail').defaultCurrency;
},
prices: {
get() {
const prices = {
price: this.price,
purchasePrices: this.purchasePrices,
};
return prices;
},
set(value) {
this.prices = value.price;
this.purchasePrices = value.purchasePrices;
},
},
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... -component