mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[improvement] Toast: optimize loading-type default value
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user