From 4097cc9ad6c60bbb5e9864d3f54a37cfbb40026e Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 05 三月 2025 15:31:28 +0800
Subject: [PATCH] 临时:路网版本

---
 src/components/search/OptionDevice.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/search/OptionDevice.vue b/src/components/search/OptionDevice.vue
index a6d3c47..0b56362 100644
--- a/src/components/search/OptionDevice.vue
+++ b/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');
         }
       });
     },

--
Gitblit v1.9.3