zydx-plus 1.33.338 → 1.33.339
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -161,6 +161,12 @@ export default {
|
|
|
161
161
|
laser() {
|
|
162
162
|
this.editor.setCurrentTool('laser')
|
|
163
163
|
},
|
|
164
|
+
undo(){
|
|
165
|
+
this.editor.undo()
|
|
166
|
+
},
|
|
167
|
+
redo(){
|
|
168
|
+
this.editor.redo()
|
|
169
|
+
},
|
|
164
170
|
styleProps(t,e) {
|
|
165
171
|
const style = [...this.editor.styleProps[t]]
|
|
166
172
|
const index = style.findIndex(item => item[1] === e)
|