Просмотр исходного кода

重新打包后台管理系统

zhoupeng 1 год назад
Родитель
Сommit
396ae297aa

+ 4 - 2
industry-admin/src/views/source/dataQuery/index.vue

@@ -348,7 +348,8 @@ export default {
                     return
                 }
 
-                let currentTime = new Date().getTime()
+                //时间往前推一秒,防止数据没拿到
+                let currentTime = new Date().getTime()-1000
                 this.count = this.timeCalculation(this.chartForm.timeValue, this.chartForm.timeType)
                 this.chooseStartTime = parseTime(new Date(currentTime - this.count))
                 this.chooseEndTime = parseTime(currentTime)
@@ -578,7 +579,8 @@ export default {
         startTimer() {
             this.timer = setInterval(() => {
                 this.chooseStartTime = this.chooseEndTime
-                this.chooseEndTime = parseTime(new Date())
+                //时间往前推一秒,防止数据没拿到
+                this.chooseEndTime = parseTime(new Date().getTime()-1000)
                 this.updateChartData()
             }, this.timeCalculation(this.chartForm.frequencyValue, this.chartForm.frequencyType))
         },

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
industry-system/industry-da/src/main/resources/static/page/index.html


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
industry-system/industry-da/src/main/resources/static/page/static/js/app.800b9543.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
industry-system/industry-da/src/main/resources/static/page/static/js/chunk-5a7f9b3f.6b044d47.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
industry-system/industry-da/src/main/resources/static/page/static/js/chunk-79903d7d.6593b48e.js


Некоторые файлы не были показаны из-за большого количества измененных файлов