Эх сурвалжийг харах

fix: 拟在建逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 11 сар өмнө
parent
commit
c9bba1a20e

+ 3 - 1
apps/bigmember_pc/src/views/search/nzj/model/base.js

@@ -151,7 +151,9 @@ export default function () {
     // 工程类型为全部时,category为空
     let category = ''
     const engineerType = engineer_type
-    initFilterData(engineerType)
+    if (engineerType && engineerType.length) {
+      initFilterData(engineerType)
+    }
     const buildValue = getCategoryValue(build, 'build', buildJudge)
     const civilValue = getCategoryValue(civil, 'civil', civilJudge)
     const electromechanicalValue = getCategoryValue(