Commit c43896ef by 李伟康

修复BUG

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