...
|
...
|
@@ -177,6 +177,8 @@ export default { |
|
|
type: 'txt'
|
|
|
}).show();
|
|
|
|
|
|
await this.delay(1500);
|
|
|
|
|
|
this.$router.replace({
|
|
|
name: 'ProductDetail',
|
|
|
params: {
|
...
|
...
|
@@ -221,7 +223,12 @@ export default { |
|
|
},
|
|
|
onNumChange(count) {
|
|
|
this[Types.CHANGE_SELL_NUM](count);
|
|
|
}
|
|
|
},
|
|
|
delay(ns) {
|
|
|
return new Promise(resolve => {
|
|
|
setTimeout(resolve, ns);
|
|
|
});
|
|
|
},
|
|
|
}
|
|
|
};
|
|
|
</script>
|
...
|
...
|
|