Explorar el Código

feat: 去掉加载后的自动刷新

WANGKANG hace 7 meses
padre
commit
69ae2f650f

+ 0 - 6
src/views/demo/TargetDetection/index.vue

@@ -197,12 +197,6 @@ const refreshTable = () => {
   }, 5000)
 }
 
-onMounted(() => {
-  setTimeout(() => {
-    refreshTable()
-  }, 5000)
-})
-
 const enumsAlgorithmConfigTrack = ref<any>([])
 onMounted(async () => {
   const result = await enumAlgorithmConfigTrackApi()

+ 0 - 6
src/views/demo/toInfrared/index.vue

@@ -200,12 +200,6 @@ const refreshTable = () => {
   }, 2500)
 }
 
-onMounted(() => {
-  setTimeout(() => {
-    refreshTable()
-  }, 5000)
-})
-
 const previewImagesRef = ref()
 const dialogVisible = ref(false)
 const imageUrls = ref([])

+ 0 - 6
src/views/demo/trackSequence/index.vue

@@ -199,12 +199,6 @@ const refreshTable = () => {
   }, 7000)
 }
 
-onMounted(() => {
-  setTimeout(() => {
-    refreshTable()
-  }, 7000)
-})
-
 const enumsAlgorithmConfigTrack_addModel____ = ref<any>([])
 
 const setItemsOptions222 = async () => {