fix
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user