Merge remote-tracking branch 'origin/StableVersion' into dev_vite
This commit is contained in:
@@ -214,9 +214,6 @@ const DesignDetail : Module<DesignDetail,RootState> = {
|
||||
for (let j = 0; j < data.clothes.length; j++) {
|
||||
const item = data.clothes[j];
|
||||
if(!item.id)continue
|
||||
if(item.id == state.selectDetail.id || state.selectDetail.newDetail?.sketch?.id == item.id){
|
||||
|
||||
}
|
||||
let id_:any
|
||||
if(state.currentDetailType != 'models'){
|
||||
if(data.clothes.length > 2){
|
||||
@@ -240,7 +237,7 @@ const DesignDetail : Module<DesignDetail,RootState> = {
|
||||
img.src = state.frontBack.body.path;
|
||||
img.onload = () => {
|
||||
let scale:any = el.parentNode.offsetWidth / img.width;
|
||||
if(state.selectDetail.newDetail?.sketch?.id && !state.selectDetail.id){
|
||||
if(state.selectDetail?.newDetail?.sketch?.id && !state.selectDetail.id){
|
||||
state.frontBack.front.push({id:state.selectDetail.newDetail?.sketch?.id})
|
||||
state.frontBack.back.push({id:state.selectDetail.newDetail?.sketch?.id})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user