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 = () => {
|
const renderDesc = () => {
|
||||||
if (props.mode !== 'multi') {
|
if (props.mode !== 'multi') {
|
||||||
|
|||||||
Reference in New Issue
Block a user