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