[improvement] Toast: optimize loading-type default value

This commit is contained in:
陈嘉涵 2019-05-03 08:44:41 +08:00
parent 1616f60a31
commit 921f8a88fb
2 changed files with 2 additions and 5 deletions

View File

@ -11,16 +11,13 @@ export default sfc({
props: {
className: null,
loadingType: String,
forbidClick: Boolean,
message: [String, Number],
type: {
type: String,
default: 'text'
},
loadingType: {
type: String,
default: 'circular'
},
position: {
type: String,
default: 'middle'

View File

@ -12,7 +12,7 @@ const defaultOptions = {
duration: 3000,
position: 'middle',
forbidClick: false,
loadingType: 'circular',
loadingType: undefined,
getContainer: 'body',
overlayStyle: null
};