canvasToTempFilePath()安卓机根本不运行也不报错
发布于 5 年前 作者 minzheng 4762 次浏览 来自 问答

var _this = this;

var children = _this.selectComponent("#mapView");

children.canvasToTempFilePath({

x: 0,

y: 0,

destWidth: 500,

destHeight: 500,

success: function (param) {

_this.setData({

mapImg: param.tempFilePath

})

}

}

wx.canvasToTempFilePath(opt, _this);

.canvasToTempFilePath()安卓机根本不运行也不报错

canvasToTempFilePath()安卓机根本不运行也不报错

1 回复

你好,请提供出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部