From 4e79074cef0da4d830998461cdaebe7d877cb34c Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Fri, 28 Jun 2024 17:19:51 +0800 Subject: [PATCH] perf: file transfer --- src/App.vue | 3 - src/components/Widgets/Term/index.vue | 184 +++---------- src/i18n/langs/{zh_Hant.json => zh_hant.json} | 0 src/views/login/index.vue | 1 - src/views/ops/Adhoc/QuickJob.vue | 6 +- .../ops/Adhoc/components/QuickJobTerm.vue | 251 ++++++++++++++++++ src/views/ops/File/index.vue | 6 +- 7 files changed, 300 insertions(+), 151 deletions(-) rename src/i18n/langs/{zh_Hant.json => zh_hant.json} (100%) create mode 100644 src/views/ops/Adhoc/components/QuickJobTerm.vue diff --git a/src/App.vue b/src/App.vue index 8de84169c..bd7a05e4a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -16,6 +16,3 @@ export default { } } - - diff --git a/src/components/Widgets/Term/index.vue b/src/components/Widgets/Term/index.vue index c271049d1..0fc65252b 100644 --- a/src/components/Widgets/Term/index.vue +++ b/src/components/Widgets/Term/index.vue @@ -1,42 +1,21 @@ @@ -167,7 +167,9 @@ export default { type: 'primary' }, callback: () => { - this.execute() + setTimeout(() => { + this.execute() + }, 300) } }, runAsInput: {