mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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,
|
reversed: false,
|
||||||
skipTimerCount: 0,
|
skipTimerCount: 0,
|
||||||
rtl: <%= Boolean(loading.rtl) %>,
|
rtl: <%= Boolean(loading.rtl) %>,
|
||||||
throttle: <%= Number(loading.throttle) ? loading.throttle : 200 %>,
|
throttle: <%= typeof loading.throttle == 'number' ? loading.throttle : 200 %>,
|
||||||
duration: <%= Number(loading.duration) ? loading.duration : 3000 %>,
|
duration: <%= typeof loading.throttle == 'number' ? loading.duration : 3000 %>,
|
||||||
continuous: <%= Boolean(loading.continuous) %>
|
continuous: <%= Boolean(loading.continuous) %>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user