Browse Source

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

Co-authored-by: ozxi1 <ozxi1@grgbanking.com>
otis 1 year ago
parent
commit
45900c5781
1 changed files with 1 additions and 1 deletions
  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,