修复删除带来的列表页面数据为空未自动减少页码请求问题
This commit is contained in:
@@ -90,7 +90,9 @@
|
||||
}
|
||||
setCurrentPage(newPage)
|
||||
}
|
||||
|
||||
watch(()=>props.page,(newval)=>{
|
||||
currentPage.value =newval
|
||||
})
|
||||
watch(() => currentPage.value, (newval) => {
|
||||
emits('change', newval)
|
||||
emits('update:page', newval)
|
||||
|
||||
Reference in New Issue
Block a user