From f6bbabd538001e4c997b2d5474356dc345ff0ba5 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Fri, 01 Sep 2023 14:57:16 +0800
Subject: [PATCH] 项目-抽屉组件封装、天气阻飞设置页面搭建以及功能完善
---
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