This commit is contained in:
cdle
2023-06-14 23:29:48 +08:00
parent 73c678755b
commit dc77eee1be
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/admin/umi.9acf6921.js"></script>
<script src="/admin/umi.99c0f090.js"></script>
</body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4
View File
@@ -183,6 +183,10 @@ func initWebPluginList() {
rr.Tab3 = len(tab3)
}
rr.Total = len(list)
if len(list) == 0 {
ctx.JSON(200, rr)
return
}
if last := (rr.Total + pageSize - 1) / pageSize; current > last {
current = last
}