From fd54c2ffac492222e85ff2f5f49a9ee5cfc73588 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 19 Jun 2024 00:20:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=A2=9E=E5=8A=A0=E8=AD=A6=E5=91=8A?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=94=99=E4=B9=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/plugin/fast-crud/index.tsx | 22 +++++++------- .../ui/certd-client/src/style/common.less | 4 ++- .../pipeline/component/step-form/index.vue | 2 +- .../pipeline/component/task-form/index.vue | 29 ++++++++++--------- .../views/framework/home/content/index.vue | 12 ++++---- 5 files changed, 37 insertions(+), 32 deletions(-) diff --git a/packages/ui/certd-client/src/plugin/fast-crud/index.tsx b/packages/ui/certd-client/src/plugin/fast-crud/index.tsx index e0082f2a..4958ae2f 100644 --- a/packages/ui/certd-client/src/plugin/fast-crud/index.tsx +++ b/packages/ui/certd-client/src/plugin/fast-crud/index.tsx @@ -65,7 +65,6 @@ function install(app: App, options: any = {}) { view: { type: "link", text: null, icon: "ion:eye-outline" }, copy: { show: true, type: "link", text: null, icon: "ion:copy-outline" }, edit: { type: "link", text: null, icon: "ion:create-outline" }, - copy: {show:true,type: "link", text: null, icon: "ion:copy-outline"}, remove: { type: "link", style: { color: "red" }, text: null, icon: "ion:trash-outline" } }, dropdown: { @@ -126,16 +125,17 @@ function install(app: App, options: any = {}) { } }, columns: { - createdAt: { - title: "创建时间", - type: "datetime", - form: { - show: false - }, - column: { - order: 1000 - } - } + // createdAt: { + // title: "创建时间", + // type: "datetime", + // form: { + // show: false + // }, + // column: { + // show: false, + // order: 1000 + // } + // } } }; diff --git a/packages/ui/certd-client/src/style/common.less b/packages/ui/certd-client/src/style/common.less index 9e41b078..bb17fdaa 100644 --- a/packages/ui/certd-client/src/style/common.less +++ b/packages/ui/certd-client/src/style/common.less @@ -65,7 +65,9 @@ h1, h2, h3, h4, h5, h6 { .mt-10{ margin-top:10px; } - +.mb-10{ + margin-bottom: 10px; +} .m-10{ margin:10px; } diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue index b5e7ed28..88c13489 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/step-form/index.vue @@ -1,7 +1,7 @@