From b827ea1617792486a64ad79638621b98177cd10f Mon Sep 17 00:00:00 2001 From: hanshaozhuang Date: Wed, 13 Jul 2022 09:26:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B5=84=E6=96=99=E4=B8=AD?= =?UTF-8?q?=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/regulatoryRepository/dataCenter/index.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pages/regulatoryRepository/dataCenter/index.vue b/src/pages/regulatoryRepository/dataCenter/index.vue index cc758b084..f38187e46 100644 --- a/src/pages/regulatoryRepository/dataCenter/index.vue +++ b/src/pages/regulatoryRepository/dataCenter/index.vue @@ -81,9 +81,9 @@ @@ -666,8 +666,13 @@ export default { }, searchInfo() { this.loading = true - this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0] - this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1] + if(this.dataCenterSearch.dataUploadTime && this.dataCenterSearch.dataUploadTime.length !== 0){ + this.dataCenterSearch.startDataUploadTime = this.dataCenterSearch.dataUploadTime[0] + this.dataCenterSearch.endDataUploadTime = this.dataCenterSearch.dataUploadTime[1] + }else{ + this.dataCenterSearch.startDataUploadTime ='' + this.dataCenterSearch.endDataUploadTime = '' + } this.$http.get('fileMaterialCenter/file-material', this.dataCenterSearch, { _this: this }, res => {