mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] Toast: optimize loading-type default value
This commit is contained in:
parent
1616f60a31
commit
921f8a88fb
@ -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'
|
||||
|
@ -12,7 +12,7 @@ const defaultOptions = {
|
||||
duration: 3000,
|
||||
position: 'middle',
|
||||
forbidClick: false,
|
||||
loadingType: 'circular',
|
||||
loadingType: undefined,
|
||||
getContainer: 'body',
|
||||
overlayStyle: null
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user