From 57b701165ba8377e1efebdd4b6a18426ee20beaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 14 Sep 2023 17:14:04 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=BD=E5=86=85=E6=A0=87=E5=87=86-?= =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/less/common.less | 4 ++++ src/components/customField/AddForm.vue | 2 +- .../commonPage/modules/UpdateRecordModal.vue | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/assets/less/common.less b/src/assets/less/common.less index 28ccb065..8472b405 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -643,6 +643,10 @@ border-bottom: 1px solid #E5E6EB; } + &-item:last-child { + border-bottom: none; + } + &-title { font-size: 16px; font-family: PingFang SC-Regular, PingFang SC, sans-serif; diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 82212633..b0645966 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -343,7 +343,7 @@ export default { }, methods: { add () { - this.$set(this.formInline, 'year_number', '2023') + this.formInline = Object.assign({}, this.defaultValue) this.$forceUpdate() this.type = 'add' this.getForm() diff --git a/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue b/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue index 0daf8899..43b7f394 100644 --- a/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue +++ b/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue @@ -65,4 +65,8 @@ export default { .record-item:first-child { padding-top: 0; } + +.record-item:last-child { + border-bottom: none; +}