File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ const rangeStyle = computed(() => {
5050 const paddingRight = double .value ? 32 * (1 - ratioRight ) : 0
5151
5252 return {
53- " --progress-right" : ` ${(ratioRight * inputWidth .value + paddingRight ).toFixed (2 )}px ` ,
54- ... (double .value ? {" --progress-left" : ` ${(ratioLeft * inputWidth .value ).toFixed (2 )}px ` } : {}),
55- ... (stepped .value ? {" --step-width" : ` ${Math .floor (stepWidth )}px ` } : {})
56- };
53+ ' --progress-right' : ` ${(ratioRight * inputWidth .value + paddingRight ).toFixed (2 )}px ` ,
54+ ... (double .value ? { ' --progress-left' : ` ${(ratioLeft * inputWidth .value ).toFixed (2 )}px ` } : {}),
55+ ... (stepped .value ? { ' --step-width' : ` ${Math .floor (stepWidth )}px ` } : {}),
56+ }
5757})
5858
5959watch ([() => props .modelValue , () => props .lowerValue ], ([upper , lower ]) => {
@@ -180,4 +180,3 @@ onMounted(() => {
180180 </div >
181181 </div >
182182</template >
183-
You can’t perform that action at this time.
0 commit comments