fix(video): develop
This commit is contained in:
@@ -6,8 +6,7 @@ import {
|
||||
RequestLabelResult,
|
||||
ServerResponse,
|
||||
} from "./typing"
|
||||
|
||||
export const BASE_LABEL_API = "https://label.cowarobot.com"
|
||||
import { BASE_LABEL_API } from "../const"
|
||||
|
||||
// 获取标注结果
|
||||
export const getLabelResult = (task_id: number) => {
|
||||
@@ -58,7 +57,9 @@ export const getServerImage = async (data: {
|
||||
} else {
|
||||
if (res.data_list && res.data_list.length) {
|
||||
const { image_data } = res.data_list[0]
|
||||
resolve({ image_data })
|
||||
resolve({
|
||||
image_data,
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user