From 1e9b5638aa36a8ce70019a9c750230ba41938327 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 5 Sep 2024 01:39:46 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BB=BB=E5=8A=A1=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/certd-client/package.json | 2 +- .../ui/certd-client/src/style/common.less | 6 + .../pipeline/component/task-form/index.vue | 72 +++++++--- .../views/certd/pipeline/pipeline/index.vue | 130 +++++++++++------- .../src/plugins/plugin-host/lib/ssh.ts | 4 +- 5 files changed, 139 insertions(+), 75 deletions(-) diff --git a/packages/ui/certd-client/package.json b/packages/ui/certd-client/package.json index 8d423aba..89bb7e63 100644 --- a/packages/ui/certd-client/package.json +++ b/packages/ui/certd-client/package.json @@ -55,7 +55,7 @@ "vue-cropperjs": "^5.0.0", "vue-i18n": "^9.10.2", "vue-router": "^4.3.0", - "vuedraggable": "^2.24.3" + "vuedraggable": "^4.1.0" }, "devDependencies": { "@certd/pipeline": "^1.24.1", diff --git a/packages/ui/certd-client/src/style/common.less b/packages/ui/certd-client/src/style/common.less index fc950097..df082cf3 100644 --- a/packages/ui/certd-client/src/style/common.less +++ b/packages/ui/certd-client/src/style/common.less @@ -74,6 +74,9 @@ h1, h2, h3, h4, h5, h6 { .ml-5{ margin-left:5px; } +.ml-10{ + margin-left:10px; +} .ml-20{ margin-left:20px; } @@ -84,6 +87,9 @@ h1, h2, h3, h4, h5, h6 { .mr-5{ margin-right: 5px; } +.mr-10{ + margin-right: 10px; +} .mr-20{ margin-right: 20px; } diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue index 1e2341f6..a477463c 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue @@ -43,25 +43,22 @@ 添加步骤 - -