🐛 修复流程图缓存问题

dev
smallchill 5 years ago
parent 9ec5d8506a
commit 97ef3f0aca
  1. 2
      src/views/work/process/leave/detail.vue
  2. 2
      src/views/work/process/leave/handle.vue

@ -85,7 +85,7 @@
init() { init() {
this.processInstanceId = this.$route.params.processInstanceId; this.processInstanceId = this.$route.params.processInstanceId;
this.businessId = this.$route.params.businessId; this.businessId = this.$route.params.businessId;
this.src = `/api/blade-flow/process/diagram-view?processInstanceId=${this.$route.params.processInstanceId}`; this.src = `/api/blade-flow/process/diagram-view?processInstanceId=${this.$route.params.processInstanceId}&t=${new Date().getTime()}`;
historyFlowList(this.processInstanceId).then(res => { historyFlowList(this.processInstanceId).then(res => {
const data = res.data; const data = res.data;
if (data.success) { if (data.success) {

@ -104,7 +104,7 @@
this.taskId = this.$route.params.taskId; this.taskId = this.$route.params.taskId;
this.processInstanceId = this.$route.params.processInstanceId; this.processInstanceId = this.$route.params.processInstanceId;
this.businessId = this.$route.params.businessId; this.businessId = this.$route.params.businessId;
this.src = `/api/blade-flow/process/diagram-view?processInstanceId=${this.$route.params.processInstanceId}`; this.src = `/api/blade-flow/process/diagram-view?processInstanceId=${this.$route.params.processInstanceId}&t=${new Date().getTime()}`;
historyFlowList(this.processInstanceId).then(res => { historyFlowList(this.processInstanceId).then(res => {
const data = res.data; const data = res.data;
if (data.success) { if (data.success) {

Loading…
Cancel
Save