mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[new feature] Area: reset method support code param
This commit is contained in:
@@ -171,8 +171,8 @@ export default sfc({
|
||||
return area;
|
||||
},
|
||||
|
||||
reset() {
|
||||
this.code = '';
|
||||
reset(code) {
|
||||
this.code = code || '';
|
||||
this.setValues();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user