mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-15 16:02:19 +08:00
fix: the default value of numberSlider component
This commit is contained in:
parent
fe31395673
commit
8a4431a0f4
@ -49,7 +49,7 @@ const props = withDefaults(defineProps<TProps>(), {
|
|||||||
})
|
})
|
||||||
const emit = defineEmits<TEmits>()
|
const emit = defineEmits<TEmits>()
|
||||||
|
|
||||||
const innerValue = ref<number>(1)
|
const innerValue = ref<number>(props.minValue)
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => innerValue.value,
|
() => innerValue.value,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user