zdg #105
|
@ -332,7 +332,7 @@ const handleMode = (vale,type)=>{
|
||||||
canvas1FabricVue.value?.handleMode(TYPES.ActionMode.DRAW)
|
canvas1FabricVue.value?.handleMode(TYPES.ActionMode.DRAW)
|
||||||
canvas1FabricVue.value.canvas.freeDrawingCursor = 'default'
|
canvas1FabricVue.value.canvas.freeDrawingCursor = 'default'
|
||||||
break
|
break
|
||||||
case 'eraser': // 板擦模式
|
case 'erase': // 板擦模式
|
||||||
canvasFabricVue.value?.handleMode(TYPES.ActionMode.ERASE)
|
canvasFabricVue.value?.handleMode(TYPES.ActionMode.ERASE)
|
||||||
canvas1FabricVue.value?.handleMode(TYPES.ActionMode.ERASE)
|
canvas1FabricVue.value?.handleMode(TYPES.ActionMode.ERASE)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue