From cc8043754bd50e28298e0b238e3fdf0b47d2f830 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 25 十月 2024 16:54:33 +0800 Subject: [PATCH] 1. 数据产品功能(暂存) --- src/components/search-option/FYOptionLocation.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/search-option/FYOptionLocation.vue b/src/components/search-option/FYOptionLocation.vue index 6a13c96..821cb2a 100644 --- a/src/components/search-option/FYOptionLocation.vue +++ b/src/components/search-option/FYOptionLocation.vue @@ -43,7 +43,7 @@ default: '_locations' } }, - emits: ['update:value'], + emits: ['update:value', 'change'], data() { return { locations: enumLocation(this.allOption, this.level), @@ -68,6 +68,7 @@ methods: { handleChange(value) { this.$emit('update:value', this.optionFormat(value)); + this.$emit('change', this.optionFormat(value)); }, /** * 鍦板尯閫夐」缁撴灉鏍煎紡鍖� -- Gitblit v1.9.3