Merge pull request #6 from tianvier/master
fix: 🐛 修复分页组件更新父组件参数警告
Former-commit-id: dbb2f6b0c790b30cbd1c92cfaa9cd3ac3c2e2494
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user