Skip to content

Commit

Permalink
fix: 修复slider值不为number的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Heng committed Aug 15, 2023
1 parent a45a62c commit 8015da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/form/fields/Slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const step = computed<number>(() => config.value.step || 0.01);
watch(
() => value.value,
(v) => emits('change', prop.value, v)
(v) => emits('change', prop.value, +v)
);
</script>

Expand Down

0 comments on commit 8015da5

Please sign in to comment.