From 6ba695ceafb6ba6fbe14545cfa0128f0dad4bd7c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 10 Apr 2024 19:52:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8B=E6=8B=89=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=82=AC=E6=B5=AE=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/RightContent.vue | 4 ++-- src/layouts/components/Tabs.vue | 4 ++-- src/views/configManage/backupManage/index.vue | 6 +++++- src/views/configManage/license/index.vue | 6 +++++- src/views/configManage/neManage/index.vue | 5 +---- src/views/configManage/softwareManage/index.vue | 5 +---- src/views/login.vue | 2 +- src/views/perfManage/taskManage/index.vue | 15 ++++++++------- src/views/tool/terminal/index.vue | 5 +---- 9 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/layouts/components/RightContent.vue b/src/layouts/components/RightContent.vue index 935e2c9a..afd795ff 100644 --- a/src/layouts/components/RightContent.vue +++ b/src/layouts/components/RightContent.vue @@ -107,7 +107,7 @@ function fnChangeLocale(e: any) { @@ -123,7 +123,7 @@ function fnChangeLocale(e: any) { - +
tabsStore.tabOpen(v), { immediate: true }); - + diff --git a/src/views/configManage/backupManage/index.vue b/src/views/configManage/backupManage/index.vue index f3da708c..d4dede32 100644 --- a/src/views/configManage/backupManage/index.vue +++ b/src/views/configManage/backupManage/index.vue @@ -227,7 +227,11 @@ function fnGetList(pageNum?: number) { } tablePagination.total = res.total; tableState.data = res.rows; - if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) { + if ( + tablePagination.total <= + (queryParams.pageNum - 1) * tablePagination.pageSize && + queryParams.pageNum !== 1 + ) { tableState.loading = false; fnGetList(queryParams.pageNum - 1); } diff --git a/src/views/configManage/license/index.vue b/src/views/configManage/license/index.vue index f62d7d57..4509157b 100644 --- a/src/views/configManage/license/index.vue +++ b/src/views/configManage/license/index.vue @@ -141,7 +141,11 @@ function fnGetList(pageNum?: number) { } tablePagination.total = res.total; tableState.data = res.rows; - if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) { + if ( + tablePagination.total <= + (queryParams.pageNum - 1) * tablePagination.pageSize && + queryParams.pageNum !== 1 + ) { tableState.loading = false; fnGetList(queryParams.pageNum - 1); } diff --git a/src/views/configManage/neManage/index.vue b/src/views/configManage/neManage/index.vue index 3047046b..faa01a83 100644 --- a/src/views/configManage/neManage/index.vue +++ b/src/views/configManage/neManage/index.vue @@ -913,10 +913,7 @@ onMounted(() => { - + diff --git a/src/views/configManage/softwareManage/index.vue b/src/views/configManage/softwareManage/index.vue index f23e602e..908bb0c9 100644 --- a/src/views/configManage/softwareManage/index.vue +++ b/src/views/configManage/softwareManage/index.vue @@ -892,10 +892,7 @@ onMounted(() => { - + diff --git a/src/views/login.vue b/src/views/login.vue index 1adac691..4a016406 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -311,7 +311,7 @@ function fnClickHelpDoc(language?: string) { v-if="appStore.i18nOpen" > - + {{ t('i18n') }} diff --git a/src/views/perfManage/taskManage/index.vue b/src/views/perfManage/taskManage/index.vue index 84ed3ea3..4ac5d575 100644 --- a/src/views/perfManage/taskManage/index.vue +++ b/src/views/perfManage/taskManage/index.vue @@ -228,7 +228,11 @@ function fnGetList(pageNum?: number) { } tablePagination.total = res.total; tableState.data = res.rows; - if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) { + if ( + tablePagination.total <= + (queryParams.pageNum - 1) * tablePagination.pageSize && + queryParams.pageNum !== 1 + ) { tableState.loading = false; fnGetList(queryParams.pageNum - 1); } @@ -490,8 +494,8 @@ function fnModalVisibleByEdit(id?: string) { } modalState.neType = [res.data.neType, JSON.parse(res.data.neIds)[0]]; - fnSelectPerformanceInit(res.data.neType) //初始性能测量数据 - modalState.from.neId=JSON.parse(res.data.neIds)[0]; + fnSelectPerformanceInit(res.data.neType); //初始性能测量数据 + modalState.from.neId = JSON.parse(res.data.neIds)[0]; modalState.timeRangePicker = [res.data.startTime, res.data.endTime]; modalState.from = Object.assign(modalState.from, res.data); @@ -849,10 +853,7 @@ onMounted(() => { - + diff --git a/src/views/tool/terminal/index.vue b/src/views/tool/terminal/index.vue index 42d888d5..cfd2e677 100644 --- a/src/views/tool/terminal/index.vue +++ b/src/views/tool/terminal/index.vue @@ -353,10 +353,7 @@ function fnTabClose(id: string) { - +