fix: 🐛 修复分页组件更新父组件参数警告
Former-commit-id: 8edbb1f048eb9bce38fcfdcac25a6f3b10b00cba
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