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