红绿图模式禁用一些快捷键功能

This commit is contained in:
李志鹏
2025-11-13 16:32:35 +08:00
parent 917aea07e1
commit e806e0da73
2 changed files with 9 additions and 2 deletions

View File

@@ -305,14 +305,13 @@ onMounted(async () => {
commandManager,
layerManager,
toolManager,
isRedGreenMode,
pasteText: (text) => {
// console.log("粘贴的文本:", text);
if (isRedGreenMode.value) return;
handleAddText(text);
},
pasteImage: (file) => {
// console.log("粘贴的图片:", file);
if (isRedGreenMode.value) return;
uploadImageAndCreateLayer({
file,
layerManager,