fix(hrm): 修复流程数据空值时的渲染异常

针对印章详情和流程详情页面,在缺少流程实例ID时提前返回,避免调用接口产生无效请求和脏数据
This commit is contained in:
2026-07-07 14:39:33 +08:00
parent 9689d152e0
commit 649d9fdfcc
3 changed files with 107 additions and 0 deletions

View File

@@ -427,6 +427,10 @@ export default {
})
},
async loadAssignTask () {
if (!this.seal || !this.seal.instId) {
this.assignTasks = []
return
}
try {
// const res = await getTodoTaskByBiz('seal', this.currentBizId)
console.log(this.seal)