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(() => { - +