From aec00ecc093be803860c8675cbe1c4c776a7cb4e Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Tue, 19 Mar 2024 17:49:21 +0800
Subject: [PATCH] update: 新建航线、事件编辑、kmz文件问题修改
---
src/components/Search/Select.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/Search/Select.vue b/src/components/Search/Select.vue
index 4a8a20e..cf2cae8 100644
--- a/src/components/Search/Select.vue
+++ b/src/components/Search/Select.vue
@@ -12,14 +12,14 @@
const emit = defineEmits(['update:modelValue', 'handleChange'])
type Option = {
label: string,
- value: string
+ value: any
}
const props = defineProps({
options: {
type: Object as () => Option[],
required: true,
},
- modelValue: String,
+ modelValue: [String, Number],
})
const value = computed({
get: () => props.modelValue,
--
Gitblit v1.9.3