Browse Source

fix:企业搜索筛选组件计算属性报错处理

yangfeng 11 tháng trước cách đây
mục cha
commit
bfc1b2ddf9

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

@@ -102,6 +102,7 @@ export default {
     },
     computedVal() {
       let result = ''
+      if (!this.value) return
       const value = this.value.filter((r) => !!r)
       if (Array.isArray(value) && value.length) {
         if (this.hadAllValue && value.includes(this.hadAllValue)) {