fix
This commit is contained in:
@@ -441,18 +441,19 @@ export default defineComponent({
|
||||
//判断模特和当前start的sketch是否匹配
|
||||
isMannequin(){
|
||||
this.isMannequinShow = false
|
||||
let isSketchItem:any
|
||||
let num = 0
|
||||
this.allBoardData?.sketchboardFiles?.forEach((sketchItem:any) => {
|
||||
isSketchItem = true
|
||||
this.workspacePosition.forEach((positionItem:any) => {
|
||||
if(positionItem.name == sketchItem.category){
|
||||
isSketchItem = false
|
||||
num ++
|
||||
// console.log(num,this.allBoardData?.sketchboardFiles.length);
|
||||
}
|
||||
});
|
||||
if(isSketchItem){
|
||||
this.isMannequinShow = true
|
||||
}
|
||||
|
||||
});
|
||||
if(num != this.allBoardData?.sketchboardFiles?.length){
|
||||
this.isMannequinShow = true
|
||||
}
|
||||
},
|
||||
formatter(value: number) {
|
||||
return `${value}%`;
|
||||
|
||||
Reference in New Issue
Block a user