fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397)

This commit is contained in:
Alexander Lichter 2018-11-24 18:30:28 +00:00 committed by Pooya Parsa
parent 54d273720c
commit 8030ca1a3d

View File

@ -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: {