소스 검색

修复刮刮卡

宇宙无敌M1处理器的MacBook Pro 4 년 전
부모
커밋
908da26ada
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]