chore: adjust some code (#8446)

This commit is contained in:
neverland
2021-04-02 10:19:33 +08:00
committed by GitHub
parent 65185069bf
commit 74e19f55d1
5 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -381,15 +381,15 @@ export default defineComponent({
onBlur={onDetailBlur}
onFocus={() => onFocus('addressDetail')}
onInput={onChangeDetail}
onSelect-search={(event: Event) => emit('select-search', event)}
onSelectSearch={(event: Event) => emit('select-search', event)}
/>
{props.showPostal && (
<Field
v-show={!hideBottomFields.value}
v-model={data.postalCode}
type="tel"
maxlength="6"
label={t('postal')}
maxlength="6"
placeholder={t('postal')}
errorMessage={errorInfo.postalCode}
onFocus={() => onFocus('postalCode')}
@@ -402,9 +402,9 @@ export default defineComponent({
<Button
block
round
loading={props.isSaving}
type="danger"
text={props.saveButtonText || t('save')}
loading={props.isSaving}
onClick={onSave}
/>
{props.showDelete && (