From 4aa86b1ec441c4e358e1cc488d8f021fb80f1355 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 17 九月 2025 17:34:35 +0800 Subject: [PATCH] 2025.9.17 数据产品(待完成) --- src/components/search-option/FYOptionLocation.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/search-option/FYOptionLocation.vue b/src/components/search-option/FYOptionLocation.vue index 6a13c96..cf5cee9 100644 --- a/src/components/search-option/FYOptionLocation.vue +++ b/src/components/search-option/FYOptionLocation.vue @@ -7,6 +7,7 @@ :placeholder="placeholder" :props="optionProps" style="width: 320px" + v-bind="$attrs" /> </el-form-item> </template> @@ -43,7 +44,7 @@ default: '_locations' } }, - emits: ['update:value'], + emits: ['update:value', 'change'], data() { return { locations: enumLocation(this.allOption, this.level), @@ -68,6 +69,7 @@ methods: { handleChange(value) { this.$emit('update:value', this.optionFormat(value)); + this.$emit('change', this.optionFormat(value)); }, /** * 鍦板尯閫夐」缁撴灉鏍煎紡鍖� -- Gitblit v1.9.3