标题优化
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
const tabItem = props.tabItem as any;
|
||||
const meta = tabItem.meta || {};
|
||||
const metaTitle = typeof meta?.title == 'function' ? meta.title(tabItem) : meta?.title;
|
||||
return tabItem.tabTitle || (meta && t(metaTitle as string));
|
||||
return (meta && t(metaTitle as string)) || tabItem.tabTitle;
|
||||
});
|
||||
|
||||
const getIsTabs = computed(() => !props.isExtra);
|
||||
|
||||
Reference in New Issue
Block a user