!586 BPM模块的一些优化

Merge pull request !586 from Lesan/feature/bpm
This commit is contained in:
芋道源码
2024-11-21 01:48:46 +00:00
committed by Gitee
6 changed files with 105 additions and 5 deletions

View File

@ -143,8 +143,9 @@ const openForm = (id?: number) => {
const toRouter: { name: string; query?: { id: number } } = {
name: 'BpmFormEditor'
}
console.log(typeof id)
// 表单新建的时候id传的是event需要排除
if (typeof id === 'number') {
if (typeof id === 'number' || typeof id === 'string') {
toRouter.query = {
id
}