From b6ed8b40d145b4b6b960b97881b80a2aab2c89fe Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Thu, 19 May 2022 12:03:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9=E8=B7=AF=E7=94=B1titl?= =?UTF-8?q?e=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/multiTags.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/modules/multiTags.ts b/src/store/modules/multiTags.ts index 525f12f89..f26807474 100644 --- a/src/store/modules/multiTags.ts +++ b/src/store/modules/multiTags.ts @@ -47,6 +47,7 @@ export const useMultiTagsStore = defineStore({ { const tagVal = value as multiType; if (isUrl(tagVal?.name)) return; + if (tagVal?.meta?.title.length === 0) return; const tagPath = tagVal?.path; // 判断tag是否已存在 const tagHasExits = this.multiTags.some(tag => {