fix(video): develop

This commit is contained in:
zhangheng
2026-02-12 17:30:29 +08:00
parent 311a92f3fd
commit 6a5dbd776f
25 changed files with 229 additions and 54 deletions

View File

@@ -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,
})
}
}
})