样式调整

信息体组件自动带部门
tab标题显示业务功能名称
修改流程默认节点名称、修改流程线名称可为空
表单流程验证跳过
This commit is contained in:
yaoyn
2024-05-29 09:28:48 +08:00
parent 5e85ad2c2f
commit f6209b9476
16 changed files with 113 additions and 78 deletions

View File

@ -45,7 +45,8 @@
const getTitle = computed(() => {
const tabItem = props.tabItem as any;
const meta = tabItem.meta || {};
return tabItem.tabTitle || (meta && t(meta.title as string));
const metaTitle=typeof meta?.title=='function'?meta.title(tabItem):meta?.title;
return tabItem.tabTitle || (meta && t(metaTitle as string));
});
const getIsTabs = computed(() => !props.isExtra);