소스 검색

fix: 删除`src/layout/components/tag/index.vue`文件中多余的判断条件

Co-authored-by: ozxi1 <ozxi1@grgbanking.com>
otis 1 년 전
부모
커밋
45900c5781
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/components/tag/index.vue

+ 1 - 1
src/layout/components/tag/index.vue

@@ -143,7 +143,7 @@ function dynamicRouteTag(value: string): void {
   function concatPath(arr: object[], value: string) {
     if (!hasValue) {
       arr.forEach((arrItem: any) => {
-        if (arrItem.path === value || arrItem.path === value) {
+        if (arrItem.path === value) {
           useMultiTagsStoreHook().handleTags("push", {
             path: value,
             meta: arrItem.meta,