瀏覽代碼

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

lifanagju_citu 7 月之前
父節點
當前提交
7fe908c8b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/recruit/personal/position/components/conditionFilter.vue

+ 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