item.js 287 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 let router = global.router; Component({ properties: { item: { type: Object, value: {} } }, methods: { goDetail: function () { router.go('productDetail', {productSkn: this.properties.item.skn}); } } });