fix: 🐛 修复分页组件更新父组件参数警告
Former-commit-id: 8edbb1f048eb9bce38fcfdcac25a6f3b10b00cba
This commit is contained in:
1 parent
878e8abaf5
commit
6ebf3bc7d4
1 file changed
+1
-1
@@ -55,7 +55,7 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(["pagination"]);
|
const emit = defineEmits(["pagination", "update:page", "update:limit"]);
|
||||||
|
|
||||||
const currentPage = useVModel(props, "page", emit);
|
const currentPage = useVModel(props, "page", emit);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user