fix(AddressEdit): should not emit save event when validation failed (#9917)

This commit is contained in:
neverland 2021-11-23 20:26:15 +08:00 committed by GitHub
parent 2e7fafeba0
commit d31304c0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,7 +351,6 @@ export default defineComponent({
class={bem('button')}
loading={props.isSaving}
nativeType="submit"
onClick={onSave}
/>
{props.showDelete && (
<Button