fix: 【BPM 工作流】修复流程表单操作列宽,消除控制台警告

pull/113/head
子夜 2025-05-24 16:53:59 +08:00
parent 7762059537
commit e3948bbc50
3 changed files with 5 additions and 4 deletions

View File

@ -105,7 +105,7 @@ export function useGridColumns<T = BpmFormApi.FormVO>(
{
field: 'operation',
title: '操作',
minWidth: 150,
minWidth: 200,
align: 'center',
fixed: 'right',
cellRender: {

View File

@ -17,7 +17,7 @@ defineOptions({ name: 'BpmFormEditor' });
const props = defineProps<{
copyId?: number | string;
id?: number;
id?: number | string;
type: 'copy' | 'create' | 'edit';
}>();

View File

@ -105,7 +105,9 @@ function onCancel(row: BpmProcessInstanceApi.ProcessInstanceVO) {
content: '请输入取消原因',
title: '取消流程',
modelPropName: 'value',
});
})
.then(() => {})
.catch(() => {});
}
/** 查看流程实例 */
@ -129,7 +131,6 @@ function onRefresh() {
<DocAlert title="工作流手册" url="https://doc.iocoder.cn/bpm" />
</template>
<FormModal @success="onRefresh" />
<Grid table-title="" />
</Page>
</template>