【功能修复】修复审批详情页面,控制台警告问题

This commit is contained in:
jason
2025-01-13 12:59:16 +08:00
parent 77938c38ca
commit baa4116697
6 changed files with 15 additions and 29 deletions

View File

@ -4,7 +4,6 @@
:flow-node="simpleModel"
:tasks="tasks"
:process-instance="processInstance"
class="process-viewer"
/>
</div>
</template>
@ -20,7 +19,7 @@ const props = defineProps({
modelView: propTypes.object,
simpleJson: propTypes.string // Simple 模型结构数据 (json 格式)
})
const simpleModel = ref()
const simpleModel = ref<any>({})
// 用户任务
const tasks = ref([])
// 流程实例
@ -161,15 +160,4 @@ const setSimpleModelNodeTaskStatus = (
</script>
<style lang="scss" scoped>
.process-viewer-container {
width: 100%;
height: 100%;
:deep(.process-viewer) {
width: 100%;
height: 100% !important;
min-height: 100%;
overflow: auto;
}
}
</style>