riku
2024-10-21 e8b4c98c16b6721a7d6617aecf82bfbc23655a58
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));
    },
    /**
     * 地区选项结果格式化