feat: tab页允许手动修改标题 新建流程改为tab页而不是弹框
This commit is contained in:
@ -43,8 +43,9 @@
|
||||
const { t } = useI18n();
|
||||
|
||||
const getTitle = computed(() => {
|
||||
const { tabItem: { meta } = {} } = props;
|
||||
return meta && t(meta.title as string);
|
||||
const tabItem = props.tabItem as any;
|
||||
const meta = tabItem.meta || {};
|
||||
return tabItem.tabTitle || (meta && t(meta.title as string));
|
||||
});
|
||||
|
||||
const getIsTabs = computed(() => !props.isExtra);
|
||||
|
||||
Reference in New Issue
Block a user