接入画布

This commit is contained in:
X1627315083
2025-06-09 10:25:54 +08:00
parent 87a08f5f8f
commit c266967f16
157 changed files with 43833 additions and 1571 deletions

View File

@@ -43,9 +43,9 @@ const HomeStoreModule : Module<DesignDetail,RootState> = {
categoryShow:false
}],
patternMaking3D:{
threeDsimpleId:null,
collectionElementId:null,
threeDSimpleId:null,
printMinioUrl:null,
url:'',
x:null,
y:null,
},
@@ -97,7 +97,6 @@ const HomeStoreModule : Module<DesignDetail,RootState> = {
setPatternMaking3D(state,data){
for (const key in data) {
if(data[key] == undefined)continue
console.log(data[key])
if(key == 'x' || key == 'y'){
state.patternMaking3D[key] = Number(data[key].toFixed(3))
}else{
@@ -170,9 +169,9 @@ const HomeStoreModule : Module<DesignDetail,RootState> = {
state.poseTransfer = []
state.deReconstruction = null
state.patternMaking3D = {
threeDsimpleId:null,
collectionElementId:null,
threeDSimpleId:null,
printMinioUrl:null,
url:null,
x:null,
y:null,
}

View File

@@ -351,12 +351,10 @@ const UploadFilesModule : Module<UploadFiles,RootState> = {
state.allBoardData.moodTemplateId = state.moodTemplateId
if(state.moodboard.length > 0)currentState = true
}else if(str == 'printBoard'){
console.log(state.printboard)
state.allBoardData.printboardFiles = state.printboard
if(state.printboard.length > 0)currentState = true
}else if(str == 'sketchBoard'){
state.allBoardData.sketchboardFiles = state.sketchboard
console.log(state.allBoardData.sketchboardFiles)
if(state.sketchboard.length > 0)currentState = true
}else if(str == 'colorBoard'){
state.allBoardData.colorBoards = state.colorBoards

View File

@@ -65,12 +65,14 @@ const Workspace : Module<DesignDetail,RootState> = {
state.projectList = list
},
setProbject(state,data){
console.log(data)
for (const key in data) {
if(data[key] == undefined)continue
state.probjects[key] = data[key]
}
},
createProbject(state){
console.log(123)
state.probjects = {
name:'',
id:'',