riku
2024-10-22 a459f13d8194e18fbcaafac5523a6a740cce9323
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<template>
  <FYSearchBar @search="onSearch">
    <template #options>
      <!-- 区县 -->
      <FYOptionLocation
        :allOption="false"
        :level="3"
        :checkStrictly="false"
        v-model:value="formSearch.locations"
      ></FYOptionLocation>
      <!-- 场景类型 -->
      <FYOptionScene
        :allOption="false"
        :type="2"
        v-model:value="formSearch.scenetype"
      ></FYOptionScene>
    </template>
  </FYSearchBar>
</template>
 
<script>
export default {
  name: 'ProblemType',
  data() {
    return {
      formSearch: {
        locations: {},
        scenetype: {}
      }
    };
  },
  methods: {
    onSearch() {
      this.loading = true;
    }
  }
};
</script>