Commit 87ab07ee authored by liuzhaoh's avatar liuzhaoh

页码数调整

parent 047b1802
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<common-table <common-table
:data="tableData" :data="tableData"
:columns="tableColumns" :columns="tableColumns"
:default-page-size="10" :default-page-size="20"
@pagination-change="handlePaginationChange" @pagination-change="handlePaginationChange"
:total="total" :total="total"
align="center" align="center"
...@@ -127,7 +127,7 @@ import axios from "axios"; ...@@ -127,7 +127,7 @@ import axios from "axios";
const ENV = import.meta.env; const ENV = import.meta.env;
const uploadUrl = ENV.VITE_APP_BASE_API5 + "/importDeviceAndSignal"; const uploadUrl = ENV.VITE_APP_BASE_API5 + "/importDeviceAndSignal";
const currentPage = ref(1); const currentPage = ref(1);
const pageSize = ref(10); const pageSize = ref(20);
const total = ref(0); const total = ref(0);
const getIndex = (index) => { const getIndex = (index) => {
return (currentPage.value - 1) * pageSize.value + index + 1; return (currentPage.value - 1) * pageSize.value + index + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment