Explorar o código

update 优化 访问流程图页面缓存问题 参数增加时间戳 临时解决

疯狂的狮子Li hai 9 meses
pai
achega
31037db627
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Process/flowChart.vue

+ 1 - 1
src/components/Process/flowChart.vue

@@ -21,7 +21,7 @@ const iframeUrl = ref('');
 const baseUrl = import.meta.env.VITE_APP_BASE_API;
 
 onMounted(async () => {
-  const url = baseUrl + `/warm-flow-ui/index.html?id=${props.insId}&type=FlowChart`;
+  const url = baseUrl + `/warm-flow-ui/index.html?id=${props.insId}&type=FlowChart&t=${Date.now()}`;
   iframeUrl.value = url + '&Authorization=Bearer ' + getToken() + '&clientid=' + import.meta.env.VITE_APP_CLIENT_ID;
 });
 </script>