fix: wrong type checking for loading.duration

[release]
This commit is contained in:
Clark Du 2019-01-03 13:33:29 +00:00
parent e77c2db93e
commit 0c15b29f7a

View File

@ -10,7 +10,7 @@ export default {
skipTimerCount: 0,
rtl: <%= Boolean(loading.rtl) %>,
throttle: <%= typeof loading.throttle === 'number' ? loading.throttle : 200 %>,
duration: <%= typeof loading.throttle === 'number' ? loading.duration : 3000 %>,
duration: <%= typeof loading.duration === 'number' ? loading.duration : 3000 %>,
continuous: <%= Boolean(loading.continuous) %>
}
},