fix : 修复详情提交/重新提交功能

This commit is contained in:
2024-06-10 22:34:51 +08:00
parent 3379d851c6
commit 9c812af394
7 changed files with 192 additions and 190 deletions

View File

@@ -20,7 +20,7 @@
<div class="approval-record">
<baseTitle title="审批记录"></baseTitle>
<div class="process">
<operation-render v-if="processViewer" :operation-list="data.operationList"
<operation-render v-if="processViewer && data.operationList && data.operationList.length > 0" :operation-list="data.operationList"
:state="data.state"/>
<process-diagram-viewer v-if="processViewer" :id-name="idName?idName:type"/>
</div>
@@ -40,8 +40,8 @@ const props = defineProps({
default: {}
},
data: {
type: Array,
default: []
type: Object,
default: {}
},
processViewer: {
type: Boolean,