File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments