Browse Source

修复刮刮卡

宇宙无敌M1处理器的MacBook Pro 4 years ago
parent
commit
908da26ada
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/scratch/index/index.vue

+ 1 - 1
plugins/scratch/index/index.vue

xqd
@@ -265,7 +265,7 @@ export default {
                     query.exec((res) => {
                         const canvasWidth = res[0].width;
                         const canvasHeight = res[0].height;
-                        let imageResource = './../image/scratch_hide.png';
+                        let imageResource = '/static/image/scratch_hide.png';
                         [self.lastX, self.lastY, self.minX, self.minY, self.maxX, self.maxY] = ['', '', '', '', '', ''];
                         [self.r, self.canvasWidth, self.canvasHeight] = [16, canvasWidth, canvasHeight]