[new feature] Area: reset method support code param

This commit is contained in:
陈嘉涵
2019-05-27 10:27:18 +08:00
parent 80a7b7cae9
commit 73f34be3a8
9 changed files with 17 additions and 16 deletions

View File

@@ -171,8 +171,8 @@ export default sfc({
return area;
},
reset() {
this.code = '';
reset(code) {
this.code = code || '';
this.setValues();
}
},