修改library里面的sketch的generate
This commit is contained in:
@@ -543,6 +543,9 @@ export default defineComponent({
|
||||
width: canvasWH.value.width,
|
||||
height: canvasWH.value.height,
|
||||
isDrawingMode: false, // 开启绘图模式
|
||||
selectionFullyContained: true,
|
||||
selectionKey:'ctrlKey',
|
||||
includeDefaultValues: false,//尚未测试 精简导出JSON
|
||||
});
|
||||
canvasOnDrop()//开启鼠标到画布事件
|
||||
if(!fabric.Object.prototype.controls.deleteControl){//设置元素删除
|
||||
|
||||
Reference in New Issue
Block a user