Commit c43896ef by 李伟康

修复BUG

1 parent 0c3230b5
......@@ -184,13 +184,17 @@ export default {
const { sopJourneyId } = this.tableSearchForm,
{ refreshTime } = this
if (refreshTime && Date.now() - refreshTime < 1e4) return this.$message('数据正在刷新中,请勿频繁提交')
this.loading = true
const res = await this.$apis.journey.refreshInst({
instId: sopJourneyId
})
this.loading = false
this.refreshTime = Date.now()
this.handleSearch()
try {
this.loading = true
const res = await this.$apis.journey.refreshInst({
instId: sopJourneyId
})
this.loading = false
this.refreshTime = Date.now()
this.handleSearch()
} catch (error) {
this.loading = false
}
}
}
}
......@@ -203,7 +207,7 @@ export default {
.flex-default.tabs {
border-bottom: none;
display: flex;
gap: 2px;
gap: 1px;
height: 40px;
.tab {
background: #fafafa;
......@@ -218,6 +222,7 @@ export default {
text-align: center;
cursor: pointer;
box-sizing: border-box;
color: #666;
}
.active,
.tab:hover {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!