fix: 分页

This commit is contained in:
lilinyuan
2024-07-04 10:04:28 +08:00
parent c10f40f668
commit 8ae817ffb3

View File

@@ -227,10 +227,8 @@ const getList = async () => {
} else {
localData.list = data
}
if (data.total) {
localData.total = data.total
emits('getTotal', localData.total)
}
localData.total = data.total
emits('getTotal', localData.total)
localData.loading = false
} else {
ElNotification({