imgRotate(){
const path=this.data.path
var canvas = wx.createContext();
canvas.translate(100, 300);
canvas.rotate(100 * Math.PI / 67.5);
canvas.drawImage(path, 0, 0, 250, 250);
wx.drawCanvas({
canvasId: 'image-canvas',
actions: canvas.getActions()
})
},