fix: 安装统计分页再加固 + index.html 禁缓存
This commit is contained in:
1 parent
34b7c8aa23
commit
c4b00cbf85
2 files changed
+16
-2
No files matched your search
@@ -165,7 +165,7 @@
|
||||
:total="total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="fetchList"
|
||||
@current-change="handlePageChange"
|
||||
/>
|
||||
</div>
|
||||
</el-card>
|
||||
@@ -314,6 +314,13 @@ function handleSizeChange() {
|
||||
fetchList()
|
||||
}
|
||||
|
||||
function handlePageChange(p) {
|
||||
if (p && Number(p) !== Number(page.value)) {
|
||||
page.value = Number(p)
|
||||
}
|
||||
fetchList()
|
||||
}
|
||||
|
||||
function showDetail(row) {
|
||||
detailRow.value = row
|
||||
detailVisible.value = true
|
||||
|
||||
Reference in new issue
Block a user