@@ -256,11 +256,13 @@ export default {
changeActive(active) {
this.active = active;
this.loading = true;
- this.$nextTick(() => {
- this.type = this.typeOptions[0].type;
- });
- this.page = 0;
- this.getList();
+ setTimeout(() => {
+ this.$nextTick(() => {
+ this.type = this.typeOptions[0].type;
+ this.page = 0;
+ this.getList();
+ });
+ }, 100);
},
changeTab() {
if (this.active !== 'coupon') {