Zhang Yang
Results
1
comments of
Zhang Yang
```vue ``` ```js const context = leafer.canvas.context const c2s=leafer.canvas.context = new Context({ height: 672, width: 340, ctx: context }); console.log(layerRef.value) leafer.forceUpdate() const out = c2s.getSerializedSvg(); console.log(out) ``` 得到的svg不是vector而是png  (konva使用svgcanvas导出的svg是vector)