28968 hace 10 meses
padre
commit
c3f82f29f9

+ 6 - 1
src/views/demo/components/PreviewCompareImages.vue

@@ -1,4 +1,4 @@
-<!--
+<!-- 
   @Datetime : 2024-12-02 09:30:19
   @Author   : WANGKANG
   @Email    : 1686617586@qq.com
@@ -164,6 +164,11 @@ const confirmNewImageIdx = () => {
 }
 
 const changeFps = () => {
+  console.log('changeFps')
+  if (intervalChangeFps.value) {
+    clearInterval(intervalChangeFps.value)
+  }
+
   if (imageFps.value == 0) {
     pause()
   } else {

+ 2 - 2
src/views/demo/dataAugmentation/index.vue

@@ -39,7 +39,7 @@
         <el-button type="primary" link icon="View" v-auth="['demo:DataAugmentation:query']" @click="openDialog(3, '任务查看', scope.row)">
           查看
         </el-button>
-        <el-button
+        <!-- <el-button
           type="primary"
           link
           icon="View"
@@ -48,7 +48,7 @@
           v-if="scope.row.status != '0' && scope.row.status != '1'"
         >
           日志
-        </el-button>
+        </el-button> -->
         <el-button type="primary" link icon="Delete" v-auth="['demo:DataAugmentation:remove']" @click="deleteDataAugmentation(scope.row)">
           删除
         </el-button>