File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
src/views/bpm/processInstance/detail Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ const view = ref({
24
24
watch (
25
25
() => props .loading ,
26
26
async (value ) => {
27
+ // 重置
28
+ view .value = {
29
+ bpmnXml: ' '
30
+ }
31
+ // 加载最新
27
32
if (value && props .id ) {
28
33
view .value = await ProcessInstanceApi .getProcessInstanceBpmnModelView (props .id )
29
34
}
Original file line number Diff line number Diff line change 76
76
<el-tab-pane label =" 流程图" name =" diagram" >
77
77
<div class =" form-scroll-area" >
78
78
<ProcessInstanceSimpleViewer
79
- v-show =" processDefinition.modelType && processDefinition.modelType === BpmModelType.SIMPLE"
79
+ v-show ="
80
+ processDefinition.modelType && processDefinition.modelType === BpmModelType.SIMPLE
81
+ "
80
82
:id =" `${id}`"
81
83
:loading =" processInstanceLoading"
82
84
/>
83
85
<ProcessInstanceBpmnViewer
84
- v-show =" processDefinition.modelType && processDefinition.modelType === BpmModelType.BPMN"
85
- :id =" `${id}`" :loading =" processInstanceLoading" />
86
+ v-show ="
87
+ processDefinition.modelType && processDefinition.modelType === BpmModelType.BPMN
88
+ "
89
+ :id =" `${id}`"
90
+ :loading =" processInstanceLoading"
91
+ />
86
92
</div >
87
93
</el-tab-pane >
88
94
You can’t perform that action at this time.
0 commit comments