From b84e4d148f4023d3b646e0cd96a13b1d295a86ca Mon Sep 17 00:00:00 2001 From: ssongliu Date: Thu, 10 Oct 2024 16:45:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A8=E6=A0=BC=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E5=88=B7=E6=96=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/index.ts | 2 ++ .../src/components/table-refresh/index.vue | 19 +++++++++++++++++++ .../src/components/table-setting/index.vue | 2 +- .../src/views/container/compose/index.vue | 3 ++- .../src/views/container/container/index.vue | 1 + frontend/src/views/container/image/index.vue | 3 ++- .../src/views/container/network/index.vue | 3 ++- frontend/src/views/container/repo/index.vue | 3 ++- .../src/views/container/template/index.vue | 3 ++- frontend/src/views/container/volume/index.vue | 3 ++- frontend/src/views/cronjob/index.vue | 3 ++- .../src/views/host/firewall/forward/index.vue | 3 ++- frontend/src/views/host/firewall/ip/index.vue | 3 ++- .../src/views/host/firewall/port/index.vue | 3 ++- frontend/src/views/host/ssh/log/log.vue | 5 +++-- frontend/src/views/log/login/index.vue | 3 ++- frontend/src/views/log/operation/index.vue | 3 ++- frontend/src/views/log/task/index.vue | 3 ++- .../views/setting/backup-account/index.vue | 3 ++- frontend/src/views/setting/snapshot/index.vue | 3 ++- 20 files changed, 56 insertions(+), 18 deletions(-) create mode 100644 frontend/src/components/table-refresh/index.vue diff --git a/frontend/src/components/index.ts b/frontend/src/components/index.ts index 3128c51a5..0adf7cde3 100644 --- a/frontend/src/components/index.ts +++ b/frontend/src/components/index.ts @@ -6,6 +6,7 @@ import ErrPrompt from './error-prompt/index.vue'; import OpDialog from './del-dialog/index.vue'; import TableSearch from './table-search/index.vue'; import TableSetting from './table-setting/index.vue'; +import TableRefresh from './table-refresh/index.vue'; import Tooltip from '@/components/tooltip/index.vue'; import CopyButton from '@/components/copy-button/index.vue'; import MsgInfo from '@/components/msg-info/index.vue'; @@ -22,6 +23,7 @@ export default { app.component(CopyButton.name, CopyButton); app.component(TableSearch.name, TableSearch); app.component(TableSetting.name, TableSetting); + app.component(TableRefresh.name, TableRefresh); app.component(MsgInfo.name, MsgInfo); app.component(MainDiv.name, MainDiv); app.component(DrawerPro.name, DrawerPro); diff --git a/frontend/src/components/table-refresh/index.vue b/frontend/src/components/table-refresh/index.vue new file mode 100644 index 000000000..317462111 --- /dev/null +++ b/frontend/src/components/table-refresh/index.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/frontend/src/components/table-setting/index.vue b/frontend/src/components/table-setting/index.vue index 8495d11f0..c1e226cca 100644 --- a/frontend/src/components/table-setting/index.vue +++ b/frontend/src/components/table-setting/index.vue @@ -2,7 +2,7 @@
diff --git a/frontend/src/views/container/compose/index.vue b/frontend/src/views/container/compose/index.vue index 42db4c661..3d1d899b1 100644 --- a/frontend/src/views/container/compose/index.vue +++ b/frontend/src/views/container/compose/index.vue @@ -31,7 +31,8 @@