|
|
@@ -324,11 +324,11 @@ export default {
|
|
|
//原图的路径
|
|
|
let imagePath = item.path
|
|
|
//大小限制1024kb
|
|
|
- let limitSize = 1024
|
|
|
+ let limitSize = 1024 * 3
|
|
|
//初始绘画区域是画布自身的宽度也就是屏幕宽度
|
|
|
let drawWidth = uni.getSystemInfoSync().windowWidth
|
|
|
-
|
|
|
- getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, (resPath) => {
|
|
|
+ let that = this
|
|
|
+ getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, that, (resPath) => {
|
|
|
uni.showLoading({
|
|
|
title: '上传中'
|
|
|
})
|