调整部分bug
This commit is contained in:
@@ -887,7 +887,16 @@ export default defineComponent({
|
||||
moodboardPosition,
|
||||
} = this.store.state.UploadFilesModule.allBoardData;
|
||||
this.randomNum()
|
||||
let workspace = this.store.state.Workspace.probjects
|
||||
let modelList = [] as any;
|
||||
let workspace:any = this.store.state.Workspace.probjects
|
||||
workspace.model.forEach((item:any)=>{
|
||||
let obj = {
|
||||
id:item.id,
|
||||
type:item.type,
|
||||
collectionElementId:item.collectionElementId
|
||||
}
|
||||
modelList.push(obj)
|
||||
})
|
||||
let data: any = {
|
||||
colorBoards: this.getColorBoard(colorBoards),
|
||||
// marketingSketchs: this.getBoardId(marketingSketchFiles),
|
||||
@@ -898,9 +907,10 @@ export default defineComponent({
|
||||
switchCategory: workspace.type == "seriesDesign"?"": workspace.position.value,
|
||||
singleOverall: workspace.type == "seriesDesign" ? "overall" : 'single',
|
||||
systemScale: workspace.systemDesignerPercentage?workspace.systemDesignerPercentage*.01:.3,
|
||||
// templateId: 3377,
|
||||
templateId: workspace.model.id,
|
||||
modelType:workspace.model.type,
|
||||
templateId: '',
|
||||
// templateId: workspace.model.id,
|
||||
mannequins: modelList,
|
||||
modelType:'',
|
||||
modelSex:workspace?.sex,
|
||||
moodTemplateId: disposeMoodboard?.[0] ? String(disposeMoodboard[0].id) : null,
|
||||
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
||||
|
||||
Reference in New Issue
Block a user