Ver Fonte

fix: 拟在建逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe há 11 meses atrás
pai
commit
c9bba1a20e
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      apps/bigmember_pc/src/views/search/nzj/model/base.js

+ 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(