duanshenglang il y a 2 semaines
Parent
commit
4bf9650cd9
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      lottery/jxs.html

+ 3 - 3
lottery/jxs.html

@@ -1658,7 +1658,7 @@
           if (code === 1) {
             if (data && data.length > 0) {
               data.forEach(item => {
-                this.lineDate.push(item.time.split('T')[0])
+                this.lineDate.push(item.time)
                 this.saleAdd.push(item.saleAdd)
                 this.serveAdd.push(item.serveAdd)
                 this.interactClient.push(item.interactClient)
@@ -2897,7 +2897,7 @@
             this.saleIndicators = data || []
             if (data && data.length) {
               data[0].dayList.forEach(item => {
-                this.clientStepDate.push(item.date.split('T')[0])
+                this.clientStepDate.push(item.time)
                 this.clientStepNum.push(item.clientNum)
               })
               this.$nextTick(() => {
@@ -2917,7 +2917,7 @@
         this.clientStepNum = []
 
         if (item.dayList && item.dayList.length) {
-          this.clientStepDate = item.dayList.map(item => item.date.split('T')[0])
+          this.clientStepDate = item.dayList.map(item => item.time)
           this.clientStepNum = item.dayList.map(item => item.clientNum)
           this.$nextTick(() => {
             this.clientStepChart()