@adminforth/bulk-ai-flow 1.22.1 → 1.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log CHANGED
@@ -13,5 +13,5 @@ custom/package-lock.json
13
13
  custom/package.json
14
14
  custom/tsconfig.json
15
15
 
16
- sent 99,457 bytes received 172 bytes 199,258.00 bytes/sec
17
- total size is 98,821 speedup is 0.99
16
+ sent 99,492 bytes received 172 bytes 199,328.00 bytes/sec
17
+ total size is 98,847 speedup is 0.99
@@ -190,7 +190,7 @@
190
190
 
191
191
  <script lang="ts" setup>
192
192
  import { callAdminForthApi } from '@/utils';
193
- import { ref, computed, reactive } from 'vue'
193
+ import { ref, computed, nextTick } from 'vue'
194
194
  import pLimit from 'p-limit';
195
195
  import { Dialog, Textarea, Toggle, Tooltip } from '@/afcl';
196
196
  import VisionTable from './VisionTable.vue'
@@ -466,7 +466,7 @@ function resumeGeneration() {
466
466
  resolvePause();
467
467
  }
468
468
 
469
- function cancelGeneration() {
469
+ async function cancelGeneration() {
470
470
  if (isGenerationCancelled.value) {
471
471
  return;
472
472
  }
@@ -486,6 +486,7 @@ function cancelGeneration() {
486
486
  }
487
487
  }
488
488
  touchRecords();
489
+ await nextTick();
489
490
  tableRef.value?.refresh();
490
491
  }
491
492
 
@@ -190,7 +190,7 @@
190
190
 
191
191
  <script lang="ts" setup>
192
192
  import { callAdminForthApi } from '@/utils';
193
- import { ref, computed, reactive } from 'vue'
193
+ import { ref, computed, nextTick } from 'vue'
194
194
  import pLimit from 'p-limit';
195
195
  import { Dialog, Textarea, Toggle, Tooltip } from '@/afcl';
196
196
  import VisionTable from './VisionTable.vue'
@@ -466,7 +466,7 @@ function resumeGeneration() {
466
466
  resolvePause();
467
467
  }
468
468
 
469
- function cancelGeneration() {
469
+ async function cancelGeneration() {
470
470
  if (isGenerationCancelled.value) {
471
471
  return;
472
472
  }
@@ -486,6 +486,7 @@ function cancelGeneration() {
486
486
  }
487
487
  }
488
488
  touchRecords();
489
+ await nextTick();
489
490
  tableRef.value?.refresh();
490
491
  }
491
492
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },