This commit is contained in:
X1627315083
2023-12-15 15:23:34 +08:00
parent 909ea7ac2f
commit fc4403c6ca
48 changed files with 211 additions and 107 deletions

View File

@@ -100,9 +100,14 @@ export default defineComponent({
// this.sketchList = []
// this.sketch = [[],[],[]]
// this.sketchList = this.allBoardData.sketchboardFiles
if(JSON.stringify(newVal)!=JSON.stringify(oldVal)){
if(oldVal){
if(JSON.stringify(newVal)!=JSON.stringify(oldVal)){
this.setSketch()
}
}else{
this.setSketch()
}
},
immediate: true
@@ -126,7 +131,7 @@ export default defineComponent({
sketch1.num = 0
sketch2.num = 1
sketch3.num = 2
if(this.sketchList){
if(this.sketchList && this.sketchList!=null){
for (let i = 0; i < this.sketchList.length; i++) {
let arr = [sketch1,sketch2,sketch3]
let image = new Image()