fix
This commit is contained in:
@@ -45,6 +45,7 @@ const DesignDetailCopy : Module<DesignDetailCopy,RootState> = {
|
||||
width:v.layersObject[i].imageSize?.[0],
|
||||
height:v.layersObject[i].imageSize?.[1],
|
||||
}
|
||||
console.log(JSON.parse(JSON.stringify(v.layersObject[i])))
|
||||
v.layersObject[i].centers={
|
||||
left:0,
|
||||
top:0,
|
||||
@@ -74,8 +75,6 @@ const DesignDetailCopy : Module<DesignDetailCopy,RootState> = {
|
||||
updataDetailItem(state,data){
|
||||
state.designDetail.clothes.forEach((item:any) => {
|
||||
if(item.id == state.selectDetail.id){
|
||||
console.log(data);
|
||||
|
||||
for (const key in data) {
|
||||
item[key] = data[key]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user