mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Area): getArea method filter placeholder (#4718)
This commit is contained in:
parent
309a5bc071
commit
9beada5db0
@ -127,6 +127,10 @@ export default sfc({
|
|||||||
},
|
},
|
||||||
|
|
||||||
onAreaConfirm(values) {
|
onAreaConfirm(values) {
|
||||||
|
if (values.some(value => !value.code)) {
|
||||||
|
Toast(t('areaEmpty'));
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.showAreaPopup = false;
|
this.showAreaPopup = false;
|
||||||
this.assignAreaValues();
|
this.assignAreaValues();
|
||||||
this.$emit('change-area', values);
|
this.$emit('change-area', values);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user