Просмотр исходного кода

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

Co-authored-by: ozxi1 <ozxi1@grgbanking.com>
otis 1 год назад
Родитель
Сommit
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,