Merge pull request #6 from tianvier/master

fix: 🐛 修复分页组件更新父组件参数警告
Former-commit-id: dbb2f6b0c790b30cbd1c92cfaa9cd3ac3c2e2494
This commit is contained in:
郝先瑞 authored and GitHub committed 2023-06-05 14:33:31 +08:00
commit 7812841c0b
1 file changed
+1 -1
+1 -1
View File
@@ -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);