Commit 504f25ce by xinla

--no commit message

1 parent eb9fa94c
...@@ -277,7 +277,7 @@ export default { ...@@ -277,7 +277,7 @@ export default {
case 'image': case 'image':
case 'qrcode': case 'qrcode':
new fabric.Image.fromURL( new fabric.Image.fromURL(
type == 'image' ? obj : 'http://scrm.xxzhtc.cn/public/qrCode.png', type == 'image' ? obj : window.lwConfig.DOMAIN + '/public/qrCode.png',
(img) => { (img) => {
img.set(options) img.set(options)
// img.scale(this.canvas.width / img.width / 2) // img.scale(this.canvas.width / img.width / 2)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!