Browse Source

修改图片导致黑屏问题

caner 1 year ago
parent
commit
34922a4a4e
4 changed files with 1 additions and 1 deletions
  1. BIN
      .DS_Store
  2. BIN
      index/1.png
  3. BIN
      index/2.png
  4. 1 1
      index/index.js

BIN
.DS_Store


BIN
index/1.png


BIN
index/2.png


+ 1 - 1
index/index.js

@@ -40,7 +40,7 @@ Page({
         const canvas = res[0].node
         this.drawCanvas._init({
           width, height, canvas, dicTypePath: this.data.dicTypePath[0], callBack: () => {
-            this.onChange({ target: { dataset: { item: this.data.list[1] } } })
+            this.onChange({ target: { dataset: { item: this.data.list[0] } } })
           }
         })
       })