|
|
@@ -44,7 +44,6 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
open() {
|
|
|
- this.$emit('getProduct');
|
|
|
this.$http.post('/order/open?id=' + this.id);
|
|
|
this.addClass('img2', 'animate__rollOut', false)
|
|
|
.then(() => {
|
|
|
@@ -58,6 +57,7 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.showProduct = true;
|
|
|
+ this.$emit('getProduct');
|
|
|
});
|
|
|
}
|
|
|
//组件名,动画名,展示(true:出现,false:消失)
|