This commit is contained in:
zhangxuelin 2024-08-07 15:36:07 +08:00
parent d64122775a
commit dca4eaae91
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ const handleMode = (vale,type)=>{
canvas1FabricVue.value?.handleMode(TYPES.ActionMode.DRAW)
canvas1FabricVue.value.canvas.freeDrawingCursor = 'default'
break
case 'eraser': //
case 'erase': //
canvasFabricVue.value?.handleMode(TYPES.ActionMode.ERASE)
canvas1FabricVue.value?.handleMode(TYPES.ActionMode.ERASE)
break