[Improvement] Toast: add loadingType option (#1049)

This commit is contained in:
neverland
2018-05-12 11:41:09 +08:00
committed by GitHub
parent 60e183f76d
commit 74714a41e4
5 changed files with 11 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ export default {
const toast = Toast.loading({
duration: 0,
forbidClick: true,
loadingType: 'spinner',
message: this.$t('text4', 3)
});