mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: loading.throttle can not be 0
This commit is contained in:
parent
33f4d2621f
commit
2d7480457d
@ -9,8 +9,8 @@ export default {
|
||||
reversed: false,
|
||||
skipTimerCount: 0,
|
||||
rtl: <%= Boolean(loading.rtl) %>,
|
||||
throttle: <%= Number(loading.throttle) ? loading.throttle : 200 %>,
|
||||
duration: <%= Number(loading.duration) ? loading.duration : 3000 %>,
|
||||
throttle: <%= typeof loading.throttle == 'number' ? loading.throttle : 200 %>,
|
||||
duration: <%= typeof loading.throttle == 'number' ? loading.duration : 3000 %>,
|
||||
continuous: <%= Boolean(loading.continuous) %>
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user