chenrui il y a 4 ans
Parent
commit
430269f4fc
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/views/setting/notice/list.vue

+ 2 - 2
src/views/setting/notice/list.vue

@@ -106,8 +106,8 @@ export default {
     ]),
     //  时间  change
     dateChange (date) {
-      this.queryParam.beginDate = date[0]
-      this.queryParam.endDate = date[1]
+      this.queryParam.beginDate = date[0] ? date[0] + ' 00:00:00' : ''
+      this.queryParam.endDate = date[1] ? date[1] + ' 23:59:59' : ''
     },
     // 查询列表
     handelSearch (pageNo) {