Bladeren bron

Merge branch 'dev/v1.0.36_tsz' of jianyu/web into feature/v1.0.36

汤世哲 1 jaar geleden
bovenliggende
commit
69786ba924

+ 1 - 1
apps/bigmember_pc/src/components/filter-items/CommonCheckboxSelector.vue

@@ -46,7 +46,7 @@ const props = defineProps({
 })
 let list = ref([])
 onMounted(() => {
-  if (props.value.length === 1 && props.value[0] === '') {
+  if (!props.value.length) {
     list.value = ['全部']
   } else {
     list.value = props.value

+ 6 - 6
apps/bigmember_pc/src/views/search/nzj/model/modules/filter.js

@@ -1,12 +1,12 @@
 import { ref } from 'vue'
 
 const filterState = ref({
-  area: ['全部'], // 地区
-  build: ['全部'], // 建筑工程
-  civil: ['全部'], // 土木工程
-  electromechanical: ['全部'], // 机电工程
-  project_stage: ['全部'], // 项目阶段
-  ownerclass: ['全部'], // 业主类型
+  area: [], // 地区
+  build: [], // 建筑工程
+  civil: [], // 土木工程
+  electromechanical: [], // 机电工程
+  project_stage: [], // 项目阶段
+  ownerclass: [], // 业主类型
   searchSort: 0,
   matchKeys: []
 })