From fde27654b1b21a8d2c149d3d12f86c3c7314c091 Mon Sep 17 00:00:00 2001 From: lishenao <3065849776@qq.com> Date: 星期四, 03 七月 2025 15:00:11 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/basicData/product/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue index d71d7cb..b17be1f 100644 --- a/src/views/basicData/product/index.vue +++ b/src/views/basicData/product/index.vue @@ -97,7 +97,6 @@ @selection-change="handleSelectionChange" :tableLoading="tableLoading" @pagination="pagination" - :total="total" ></PIMTable> </div> <el-dialog v-model="productDia" title="浜у搧" width="400px"> @@ -227,11 +226,11 @@ const tableData = ref([]); const tableLoading = ref(false); const isShowButton = ref(false); -const total = ref(0); const selectedRows = ref([]); const page = reactive({ current: 1, size: 10, + total: 0, }); const data = reactive({ form: { @@ -388,7 +387,7 @@ }).then((res) => { console.log("res", res); tableData.value = res.records; - total.value = res.total; + page.total = res.total; tableLoading.value = false; }); }; -- Gitblit v1.9.3