fix: expose loading.throttle as an option (#3953)

This commit is contained in:
Tatsuyuki Ishi 2018-09-25 02:30:22 +09:00 committed by Clark Du
parent c8693da621
commit 55a153c7d0
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default {
percent: 0, percent: 0,
show: false, show: false,
canSuccess: true, canSuccess: true,
throttle: 200, throttle: <%= loading.throttle %>,
duration: <%= loading.duration %>, duration: <%= loading.duration %>,
height: '<%= loading.height %>', height: '<%= loading.height %>',
color: '<%= loading.color %>', color: '<%= loading.color %>',

View File

@ -175,6 +175,7 @@ export default {
color: 'black', color: 'black',
failedColor: 'red', failedColor: 'red',
height: '2px', height: '2px',
throttle: 200,
duration: 5000, duration: 5000,
rtl: false rtl: false
}, },