mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix: wrong type checking for loading.duration
[release]
This commit is contained in:
parent
e77c2db93e
commit
0c15b29f7a
@ -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) %>
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user