Browse Source

刷新页面后会出现newVal[key] === oldVal[key]错误

lifanagju_citu 7 months ago
parent
commit
7fe908c8b5

+ 1 - 1
src/views/recruit/personal/position/components/conditionFilter.vue

@@ -193,7 +193,7 @@ watch(
     }
     else { // 路由参数更新
       newKeyList.forEach(key => {
-        // if (newVal[key] === oldVal[key]) return
+        // if (newVal[key] === oldVal[key]) return // 刷新页面后会出现newVal[key] === oldVal[key]错误
         assembleList({ key, idsStr: newVal[key] })
       })
       // showSelectList去掉newVal里面没有的key