From f6d006b83494c7d44f80c12fa9486404da2a3ded Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Tue, 2 Jan 2024 14:42:23 +0800 Subject: [PATCH] fix --- src/views/HomeView.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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}%`;