This commit is contained in:
X1627315083@163.com
2026-04-13 15:19:37 +08:00
parent 254352bf9a
commit 93d2eb0696
2 changed files with 4 additions and 0 deletions

View File

@@ -205,11 +205,13 @@ export const sketchAddPrintApi = (data:sketchAddPrintData) => {
* @param data 图片转3d的参数 * @param data 图片转3d的参数
* @param data.sketchId sketch id * @param data.sketchId sketch id
* @param data.imageUrls 进行生成的图片。minio地址和正常地址都可以 * @param data.imageUrls 进行生成的图片。minio地址和正常地址都可以
* @param data.mode 选择的模型
* @returns 图片转3d * @returns 图片转3d
*/ */
export interface sketchToThreeData { export interface sketchToThreeData {
sketchId?: string sketchId?: string
imageUrls?: Array<string> imageUrls?: Array<string>
mode?: string
} }
export const sketchToThreeApi = (data:sketchToThreeData) => { export const sketchToThreeApi = (data:sketchToThreeData) => {
return request({ return request({
@@ -218,6 +220,7 @@ export const sketchToThreeApi = (data:sketchToThreeData) => {
data:{ data:{
sketchId: data.sketchId, sketchId: data.sketchId,
imageUrls: data.imageUrls, imageUrls: data.imageUrls,
mode: data.mode,
} }
}) })
} }

View File

@@ -379,6 +379,7 @@
width: 100%; width: 100%;
// height: 140px; // height: 140px;
height: 100%; height: 100%;
min-height: 140px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;