src/components/Screen/bottom.vue
@@ -208,8 +208,10 @@ }, computed: { currMenuList() { const menu = this.menuList.find(item => item.menuName == this.currMenu) const filterChildren = [] const value = this.searchName menu.children.forEach(item => { if (item.name && item.name.includes(value)) { @@ -407,7 +409,9 @@ async getCountProjectTour() { const res = await countProjectTour() if (res.code === 200) { const menu = this.menuList.find(item => item.menuName == "工程巡视") menu.children = res.result.map(item => { return { name: item.projname,