File tree Expand file tree Collapse file tree 3 files changed +210
-19
lines changed Expand file tree Collapse file tree 3 files changed +210
-19
lines changed Original file line number Diff line number Diff line change 9797 "split.js" : " 1.6.2" ,
9898 "svg-transform-loader" : " ^2.0.12" ,
9999 "vue" : " ^2.6.12" ,
100- "vue-sequence" : " ^1.0.87 " ,
100+ "vue-sequence" : " ^1.0.126 " ,
101101 "vuex" : " ^3.6.2"
102102 },
103103 "jest" : {
Original file line number Diff line number Diff line change @@ -417,15 +417,15 @@ export default class ContentWrap extends Component {
417417 async exportPngClickHandler ( e ) {
418418 const mountingPoint = this . frame . contentWindow . document . getElementById ( 'diagram' ) ;
419419 // eslint-disable-next-line
420- const png = await mountingPoint . children [ 0 ] . __vue__ . $children [ 0 ] . toBlob ( ) ;
420+ const png = await mountingPoint . children [ 0 ] . __vue__ . toBlob ( ) ;
421421 saveAs ( png , 'zenuml.png' ) ;
422422 trackEvent ( 'ui' , 'downloadPng' ) ;
423423 }
424424
425425 async exportJpegClickHandler ( e ) {
426426 const mountingPoint = this . frame . contentWindow . document . getElementById ( 'diagram' ) ;
427427 // eslint-disable-next-line
428- const jpeg = await mountingPoint . children [ 0 ] . __vue__ . $children [ 0 ] . toJpeg ( ) ;
428+ const jpeg = await mountingPoint . children [ 0 ] . __vue__ . toJpeg ( ) ;
429429 saveAs ( jpeg , 'zenuml.jpeg' ) ;
430430 trackEvent ( 'ui' , 'downloadJpeg' ) ;
431431 }
You can’t perform that action at this time.
0 commit comments