From a94e78d31e03ea60604c4b819f295e4f2218ab50 Mon Sep 17 00:00:00 2001 From: ssongliu Date: Mon, 13 Mar 2023 18:35:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=83=A8=E5=88=86=E7=95=8C=E9=9D=A2=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E8=BF=87=E6=9C=9F=E4=BB=8D=E7=84=B6=E8=83=BD=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/setting/about/index.vue | 3 ++- frontend/src/views/setting/monitor/index.vue | 3 ++- frontend/src/views/setting/safe/index.vue | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/setting/about/index.vue b/frontend/src/views/setting/about/index.vue index 406eeea46..fdfe64cdc 100644 --- a/frontend/src/views/setting/about/index.vue +++ b/frontend/src/views/setting/about/index.vue @@ -36,7 +36,7 @@ diff --git a/frontend/src/views/setting/monitor/index.vue b/frontend/src/views/setting/monitor/index.vue index d01d82236..d275fdecc 100644 --- a/frontend/src/views/setting/monitor/index.vue +++ b/frontend/src/views/setting/monitor/index.vue @@ -49,7 +49,7 @@ import { onMounted, reactive, ref } from 'vue'; import { FormInstance } from 'element-plus'; import LayoutContent from '@/layout/layout-content.vue'; -import { cleanMonitors, getSettingInfo, updateSetting } from '@/api/modules/setting'; +import { cleanMonitors, getSettingInfo, getSystemAvailable, updateSetting } from '@/api/modules/setting'; import { useDeleteData } from '@/hooks/use-delete-data'; import { Rules, checkNumberRange } from '@/global/form-rules'; import i18n from '@/lang'; @@ -110,5 +110,6 @@ const onClean = async () => { onMounted(() => { search(); + getSystemAvailable(); }); diff --git a/frontend/src/views/setting/safe/index.vue b/frontend/src/views/setting/safe/index.vue index 1aafb9596..1a2ab0c09 100644 --- a/frontend/src/views/setting/safe/index.vue +++ b/frontend/src/views/setting/safe/index.vue @@ -137,7 +137,7 @@ import { ElForm, ElMessageBox } from 'element-plus'; import { Setting } from '@/api/interface/setting'; import LayoutContent from '@/layout/layout-content.vue'; import DrawerHeader from '@/components/drawer-header/index.vue'; -import { updateSetting, getMFA, bindMFA, getSettingInfo, updatePort } from '@/api/modules/setting'; +import { updateSetting, getMFA, bindMFA, getSettingInfo, updatePort, getSystemAvailable } from '@/api/modules/setting'; import i18n from '@/lang'; import { Rules, checkNumberRange } from '@/global/form-rules'; import { dateFormatSimple } from '@/utils/util'; @@ -326,5 +326,6 @@ function loadTimeOut() { onMounted(() => { search(); + getSystemAvailable(); });