riku
2025-03-05 4097cc9ad6c60bbb5e9864d3f54a37cfbb40026e
src/components/search/OptionDevice.vue
@@ -27,7 +27,7 @@
    type: String,
    modelValue: String
  },
  emits: ['update:modelValue'],
  emits: ['update:modelValue', 'initOver'],
  data() {
    return {};
  },
@@ -61,6 +61,7 @@
      this.deviceStore.fetchDevice().then((res) => {
        if (res.success && res.data.length > 0) {
          this.handleChange(this.deviceOptions[0].value);
          this.$emit('initOver');
        }
      });
    },