Explorar o código

类型问题修复

刘洋 hai 1 ano
pai
achega
66720ecf12
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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']