diff --git a/packages/address-edit/index.js b/packages/address-edit/index.js index 5993775d8..863d6bcfd 100644 --- a/packages/address-edit/index.js +++ b/packages/address-edit/index.js @@ -127,6 +127,10 @@ export default sfc({ }, onAreaConfirm(values) { + if (values.some(value => !value.code)) { + Toast(t('areaEmpty')); + return; + } this.showAreaPopup = false; this.assignAreaValues(); this.$emit('change-area', values);