From 4c315a1548d008a5e7fed8af0996f3097694fc17 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 27 Oct 2025 15:50:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=9F=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=93=8D=E4=BD=9C=E5=8E=BB=E6=8E=89=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/tenant/index.vue | 299 +++++++++--------------------- 1 file changed, 84 insertions(+), 215 deletions(-) diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index b02e56b8..ce3b9ebc 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -325,7 +325,7 @@ function fnGetList(parentId?: any, tableFlag?: any, pageNum?: number) { tablePagination.total = res.total; if ( tablePagination.total <= - (queryParams.pageNum - 1) * tablePagination.pageSize && + (queryParams.pageNum - 1) * tablePagination.pageSize && queryParams.pageNum !== 1 ) { tableState.loading = false; @@ -774,57 +774,34 @@ onMounted(() => { - - - + + {{ t('common.addText') }} @@ -879,13 +850,9 @@ onMounted(() => { ? t('common.reloadText') : 'Please Select Tenant' }} - + @click.prevent="fnGetList(state.selectedNode, 'table')"> @@ -895,52 +862,35 @@ onMounted(() => { - +