mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Pagination): incorrect emit change
This commit is contained in:
parent
29eb4c8db9
commit
3460351ce3
@ -110,7 +110,13 @@ export default createComponent({
|
||||
}
|
||||
};
|
||||
|
||||
watch(() => props.modelValue, select, { immediate: true });
|
||||
watch(
|
||||
() => props.modelValue,
|
||||
(value) => {
|
||||
select(value);
|
||||
},
|
||||
{ immediate: true }
|
||||
);
|
||||
|
||||
const renderDesc = () => {
|
||||
if (props.mode !== 'multi') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user