types(Area): add reset method type (#5353)

This commit is contained in:
neverland
2019-12-22 12:54:29 +08:00
committed by GitHub
parent a54a77d8c8
commit 24def10a1e
5 changed files with 17 additions and 9 deletions
+1
View File
@@ -262,6 +262,7 @@ export default createComponent({
return area;
},
// @exposed-api
reset(code) {
this.code = code || '';
this.setValues();