riku
2025-03-12 42f42dc88214f283b43c422f37e10ab45c5c5578
src/components/search/OptionMission.vue
@@ -31,7 +31,7 @@
    type: String,
    modelValue: String
  },
  emits: ['update:modelValue', 'change'],
  emits: ['update:modelValue', 'initOver'],
  data() {
    return {
      index: undefined
@@ -46,6 +46,7 @@
        if (res.success && res.data.length > 0) {
          this.index = 0;
          this.handleChange(0);
          this.$emit('initOver');
        }
      });
    },
@@ -59,6 +60,7 @@
    } else {
      this.index = 0;
      this.handleChange(0);
      this.$emit('initOver');
    }
  }
};