Commit bbc2edb5 authored by 王炽's avatar 王炽

6666

parent 9da65b67
...@@ -252,7 +252,7 @@ const handleToolClick = async (item) => { ...@@ -252,7 +252,7 @@ const handleToolClick = async (item) => {
} }
} else if(item.title === '生长测评'){ } else if(item.title === '生长测评'){
if(listData.length > 0){ if(listData.length > 0){
const hasPregnancy = listData.some(item.babyStage === 2 && item.selected === true ) const hasPregnancy = listData.some(item => item.babyStage === 2 && item.selected === true )
if(hasPregnancy){ if(hasPregnancy){
jump({ type: item.link.type, url: item.link.url}); jump({ type: item.link.type, url: item.link.url});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment