fix: use triple equals in loading.throttle [release]

This commit is contained in:
Clark Du 2019-01-03 13:31:00 +00:00
parent 2d7480457d
commit e77c2db93e

View File

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