图层可以持续粘贴

This commit is contained in:
李志鹏
2026-01-30 13:54:21 +08:00
parent 62e7f34c98
commit 8588c74ffd
2 changed files with 33 additions and 33 deletions

View File

@@ -1961,13 +1961,13 @@ export class LayerManager {
if (this.commandManager) {
// 使用命令管理器执行命令
const result = await this.commandManager.execute(command);
this.clipboardData = null; // 清空剪贴板数据 复制一次
// this.clipboardData = null; // 清空剪贴板数据 复制一次
// 执行命令
return result;
}
const result = await command.execute();
this.clipboardData = null; // 清空剪贴板数据 复制一次就清空,避免重复粘贴 出现 错误后也清空 总之就是清空 不用给自己找麻烦
// this.clipboardData = null; // 清空剪贴板数据 复制一次就清空,避免重复粘贴 出现 错误后也清空 总之就是清空 不用给自己找麻烦
// 执行命令
return result;
}