dist
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user