mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 17:07:19 +08:00
fix: 兼容路由title为空的情况
This commit is contained in:
parent
348916e567
commit
b6ed8b40d1
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user