|
@@ -162,7 +162,7 @@ const updateRemoteCache = async () => {
|
|
|
const handleRemoteCacheRefresh = () => {
|
|
|
cacheIndex.value && clearTimeout(cacheIndex.value)
|
|
|
cacheIndex.value = setTimeout(() => {
|
|
|
- updateRemoteCache()
|
|
|
+ // updateRemoteCache()
|
|
|
}, cacheUpdateFr)
|
|
|
}
|
|
|
|
|
@@ -216,7 +216,7 @@ watch(
|
|
|
flowBaseInfoWatcher,
|
|
|
(newVal, oldVal) => {
|
|
|
console.log('第二步:执行同步emit方法 ------', newVal, oldVal)
|
|
|
- cacheTriggerFunc()
|
|
|
+ // cacheTriggerFunc()
|
|
|
},
|
|
|
{ deep: true }
|
|
|
)
|
|
@@ -234,6 +234,7 @@ watch(
|
|
|
onMounted(() => {
|
|
|
getGroupList()
|
|
|
handleCacheLoading()
|
|
|
+ flowStore.$reset()
|
|
|
})
|
|
|
|
|
|
onBeforeUnmount(() => {
|
|
@@ -248,10 +249,14 @@ defineExpose({
|
|
|
|
|
|
<template>
|
|
|
<div class="base-info">
|
|
|
- <div v-if="cacheLoading" style="font-size: 18px; position: absolute; left: 10px; top: 20px; z-index: 9999; color: red">
|
|
|
+ <div v-if="false" style="font-size: 18px; position: absolute; left: 10px; top: 20px; z-index: 9999; color: red">
|
|
|
{{ cacheLoadingNum }}秒之后开启自动缓存...
|
|
|
</div>
|
|
|
- <div class="base-info-panel">
|
|
|
+
|
|
|
+ <div class="base-info-panel" style="position: relative;">
|
|
|
+ <div style="font-size: 18px; position: absolute; right: 10px; top: 20px; z-index: 9999;">
|
|
|
+ <el-button type="primary" @click="updateRemoteCache">暂存</el-button>
|
|
|
+ </div>
|
|
|
<el-form ref="formRef" :model="flowInfo" :rules="rules" label-position="top">
|
|
|
<el-form-item label="图标" prop="processIcon">
|
|
|
<el-space>
|