소스 검색

!813 update Web/src/layout/navBars/topBar/search.vue.
Merge pull request !813 from tql/N/A

zuohuaijun 2 년 전
부모
커밋
363af1e788
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Web/src/layout/navBars/topBar/search.vue

+ 1 - 1
Web/src/layout/navBars/topBar/search.vue

@@ -80,7 +80,7 @@ const createFilter = (queryString: string) => {
 const initTageView = () => {
 	if (state.tagsViewList.length > 0) return false;
 	tagsViewRoutes.value.map((v: RouteItem) => {
-		if (!v.meta?.isHide) state.tagsViewList.push({ ...v });
+		if (!v.meta?.isHide && v.type !== 1) state.tagsViewList.push({ ...v });
 	});
 };
 // 当前菜单选中时