Skip to content

Commit 9241ae9

Browse files
jschoiRRdhslove
authored andcommitted
상세 화면에서 상세화면으로 이동시 버그 수정
1 parent 0fbb15f commit 9241ae9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ui/src/views/AutogenView.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ export default {
737737
return {
738738
apiName: '',
739739
loading: false,
740+
IntervalLoading: false,
740741
actionLoading: false,
741742
columnKeys: [],
742743
allColumns: [],
@@ -911,6 +912,7 @@ export default {
911912
watch: {
912913
'$route' (to, from) {
913914
clearInterval(this.refreshInterval)
915+
this.IntervalLoading = true
914916
if (to.fullPath !== from.fullPath && !to.fullPath.includes('action/') && to?.query?.tab !== 'browser') {
915917
if ('page' in to.query) {
916918
this.page = Number(to.query.page)
@@ -923,7 +925,10 @@ export default {
923925
this.$refs.listview.resetSelection()
924926
}
925927
this.fetchData()
926-
if (Object.keys(to.params).length === 0) this.refreshInterval = setInterval(this.fetchData, 5000)
928+
if (Object.keys(to.params).length === 0) {
929+
this.refreshInterval = setInterval(this.fetchData, 5000)
930+
this.IntervalLoading = false
931+
}
927932
if ('projectid' in to.query) {
928933
this.switchProject(to.query.projectid)
929934
}

0 commit comments

Comments
 (0)