feat: 新增重置方法

This commit is contained in:
2025-08-01 22:02:27 +08:00
parent d4e3b50d14
commit f382d33527
5 changed files with 15 additions and 0 deletions
@@ -112,6 +112,9 @@ export default {
return
}
this.editor.setValue(val)
},
resetField() {
this.editor.setValue('')
}
}
}