From d477567030c4e0d94fc17e0ed963761c2ce7910b Mon Sep 17 00:00:00 2001 From: 77 <270260644@qq.com> Date: Mon, 30 Sep 2024 19:02:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=963?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DiyEditor/components/ComponentLibrary.vue | 4 +- .../seckill/config/SeckillConfigForm.vue | 232 ++++++++---------- 2 files changed, 110 insertions(+), 126 deletions(-) diff --git a/yudao-admin-vue3/src/components/DiyEditor/components/ComponentLibrary.vue b/yudao-admin-vue3/src/components/DiyEditor/components/ComponentLibrary.vue index b8bd1ec..f2af137 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/components/ComponentLibrary.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/components/ComponentLibrary.vue @@ -128,8 +128,8 @@ const handleCloneComponent = (component: DiyComponent) => { width: 86px; height: 86px; cursor: move; - border-right: 1px solid var(--el-border-color-lighter); - border-bottom: 1px solid var(--el-border-color-lighter); + // border-right: 1px solid var(--el-border-color-lighter); + // border-bottom: 1px solid var(--el-border-color-lighter); flex-direction: column; align-items: center; justify-content: center; diff --git a/yudao-admin-vue3/src/views/mall/promotion/seckill/config/SeckillConfigForm.vue b/yudao-admin-vue3/src/views/mall/promotion/seckill/config/SeckillConfigForm.vue index a7ce5fe..d596ec1 100644 --- a/yudao-admin-vue3/src/views/mall/promotion/seckill/config/SeckillConfigForm.vue +++ b/yudao-admin-vue3/src/views/mall/promotion/seckill/config/SeckillConfigForm.vue @@ -1,133 +1,117 @@ + /** 重置表单 */ + const resetForm = () => { + formData.value = { + id: undefined, + name: undefined, + startTime: undefined, + endTime: undefined, + sliderPicUrls: [], + status: CommonStatusEnum.ENABLE + } + formRef.value?.resetFields() + } + \ No newline at end of file