mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
fix(components): [el-pagination] jumper prohibit decimal (#5512)
This commit is contained in:
parent
78381d604d
commit
3956faacba
@ -39,6 +39,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function handleChange(val: number | string) {
|
||||
val = Math.trunc(+val)
|
||||
changeEvent?.(+val)
|
||||
userInput.value = undefined
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user