...
|
...
|
@@ -276,12 +276,21 @@ export default { |
|
|
});
|
|
|
},
|
|
|
backAction() {
|
|
|
this.$router.replace({
|
|
|
name: 'ProductDetail',
|
|
|
params: {
|
|
|
productId: this.productId
|
|
|
}
|
|
|
});
|
|
|
if (this.productId) {
|
|
|
this.$router.replace({
|
|
|
name: 'ProductDetail',
|
|
|
params: {
|
|
|
productId: this.productId
|
|
|
}
|
|
|
});
|
|
|
} else if (this.type === 'second') {
|
|
|
this.$router.replace({
|
|
|
name: 'SecondProductDetail',
|
|
|
params: {
|
|
|
skup: this.skup
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
async init() {
|
|
|
this.fetchOrderAddress({ tabType: UserType.buy });
|
...
|
...
|
|