diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index af49b389..86163048 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -440,8 +440,6 @@ export default defineComponent({ //判断模特和当前start的sketch是否匹配 isMannequin(){ - console.log(this.allBoardData?.sketchboardFiles?.length != 0,this.workspacePosition); - this.isMannequinShow = false let num = 0 this.allBoardData?.sketchboardFiles?.forEach((sketchItem:any) => { @@ -451,17 +449,14 @@ export default defineComponent({ // console.log(num,this.allBoardData?.sketchboardFiles.length); } }); - }); - if(this.allBoardData?.sketchboardFiles?.length && this.allBoardData?.sketchboardFiles?.length!=0){ + if(this.allBoardData?.sketchboardFiles?.length && this.allBoardData?.sketchboardFiles?.length>0){ if(num != this.allBoardData?.sketchboardFiles?.length){ this.isMannequinShow = true } }else{ this.isMannequinShow = false } - console.log(this.isMannequinShow); - }, formatter(value: number) { return `${value}%`;