深度画布

This commit is contained in:
lzp
2026-03-30 10:56:26 +08:00
parent b7d8f9fed0
commit d6c8de770a
3 changed files with 14 additions and 7 deletions

View File

@@ -183,11 +183,8 @@
if (!activeLayerId.value) return
layerManager.deleteLayerById(activeLayerId.value)
}
const onWorkbench = async () => {
exportCanvasToImage(canvasManager.canvas).then((url) => {
const { canvas, images } = canvasManager.getCanvasDisUrlJSON()
emit('workbench', { url, canvas, images })
})
const onWorkbench = () => {
emit('workbench')
}
</script>