From 3391d11b3106f5612be1b94b4e33ba97b48be8fa Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:36:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=9B=BD=E5=86=85?= =?UTF-8?q?=E5=A4=96=E6=94=BF=E7=AD=96=20=E7=BC=96=E8=BE=91=20=E5=BE=81?= =?UTF-8?q?=E6=B1=82=E6=84=8F=E8=A7=81=E5=91=A8=E6=9C=9F=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E5=90=8E=E6=B2=A1=E6=9C=89=E6=B8=85=E9=99=A4=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/policyRegulation/policy/components/editDrawer.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/policyRegulation/policy/components/editDrawer.vue b/src/pages/policyRegulation/policy/components/editDrawer.vue index 0d20d2132..a93586faa 100644 --- a/src/pages/policyRegulation/policy/components/editDrawer.vue +++ b/src/pages/policyRegulation/policy/components/editDrawer.vue @@ -1313,6 +1313,9 @@ export default { if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) { nowstandinfo.commentCycleStart = this.commentCycleDate2[0] nowstandinfo.commentCycleEnd = this.commentCycleDate2[1] + }else if (this.commentCycleDate2 === null) { + nowstandinfo.commentCycleStart = null + nowstandinfo.commentCycleEnd = null } this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, { _this: this, @@ -1354,6 +1357,9 @@ export default { if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) { nowstandinfo.commentCycleStart = this.commentCycleDate2[0] nowstandinfo.commentCycleEnd = this.commentCycleDate2[1] + }else if (this.commentCycleDate2 === null) { + nowstandinfo.commentCycleStart = null + nowstandinfo.commentCycleEnd = null } this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, { _this: this,