mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397)
This commit is contained in:
parent
54d273720c
commit
8030ca1a3d
@ -8,10 +8,10 @@ export default {
|
|||||||
canSucceed: true,
|
canSucceed: true,
|
||||||
reversed: false,
|
reversed: false,
|
||||||
skipTimerCount: 0,
|
skipTimerCount: 0,
|
||||||
rtl: <%= loading.rtl || false %>,
|
rtl: <%= Boolean(loading.rtl) %>,
|
||||||
throttle: <%= loading.throttle || 200 %>,
|
throttle: <%= Number(loading.throttle) ? loading.throttle : 200 %>,
|
||||||
duration: <%= loading.duration || 3000 %>,
|
duration: <%= Number(loading.duration) ? loading.duration : 3000 %>,
|
||||||
continuous: <%= loading.continuous || false %>
|
continuous: <%= Boolean(loading.continuous) %>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
Reference in New Issue
Block a user