| src/components/revampDraw.vue | ●●●●● patch | view | raw | blame | history |
src/components/revampDraw.vue
@@ -308,7 +308,8 @@ var str = window.location.search.substring(1) var parmasObj = this.getUrlParams(str) if(parmasObj.status!=""){//后台截图 if(parmasObj.status){//后台截图 domtoimage.toPng(document.getElementById('map'), { width: 970, height: 400 }) .then( (dataUrl) => { @@ -326,8 +327,10 @@ console.error('oops, something went wrong!', error) }) return }else{//小程序截图 domtoimage.toPng(document.getElementById('map'), { width: 375, height: 750 }) .then( (dataUrl) => {