window.oldRatio = window.devicePixelRatio
window.devicePixelRatio = 3 //自己设定值
this.graph.downloadFullImage('graph','image/png',{
backgroundColor:'#fff',
padding:[30,15,15,15]
})
setTimeout(()=>{
window.devicePixelRatio = window.oldRatio
},200)