mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(Pagination): incorrect emit change
This commit is contained in:
@@ -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') {
|
||||
|
Reference in New Issue
Block a user