Browse Source

类型问题修复

刘洋 1 year ago
parent
commit
66720ecf12
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/modules/marking/mark/index.vue

+ 1 - 2
src/modules/marking/mark/index.vue

@@ -217,8 +217,7 @@ type TaskInfoType = FormalTaskType | HistoryTaskType
 // let currentTaskPool: ExtractApiResponse<'getMarkingTask'> = []
 let currentTaskPool: any = []
 
-// const currentTask = ref<TaskInfoType>()
-const currentTask = ref<any>()
+const currentTask = ref<TaskInfoType & { dataUrl?: any }>()
 
 type excludeOperationTypes = InstanceType<typeof MarkHeader>['$props']['excludeOperations']