Commit e6539b49 authored by 任建锋's avatar 任建锋

添加撤销和重做快捷键

parent dbaac765
......@@ -77,7 +77,7 @@
}else if (e.key === 'z' && (e.ctrlKey || e.metaKey) && (e.shiftKey)) {
//快捷键ctrl+shift+z执行重做
e.preventDefault();
//是否可执行重做
//是否可执行重做
if(!(this.project.stackIndex === 0)){
this.clickMenu("redo");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment