修改library里面的sketch的generate

This commit is contained in:
X1627315083
2024-10-18 11:36:19 +08:00
parent f606a192d1
commit c14e72efb2
7 changed files with 168 additions and 76 deletions

View File

@@ -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){//设置元素删除