[bugfix] SubmitBar: incomplete button text display (#1940)

This commit is contained in:
neverland
2018-10-17 10:11:12 +08:00
committed by GitHub
parent f90e96f701
commit 9c5fa8a9d4
4 changed files with 13 additions and 13 deletions

View File

@@ -12,7 +12,14 @@
<span :class="b('price')">{{ currency }} {{ price | format }}</span>
</template>
</div>
<van-button :type="buttonType" :disabled="disabled" :loading="loading" @click="$emit('submit')">
<van-button
square
size="large"
:type="buttonType"
:disabled="disabled"
:loading="loading"
@click="$emit('submit')"
>
{{ loading ? '' : buttonText }}
</van-button>
</div>