liqk před 4 roky
rodič
revize
09e09b2c47

+ 3 - 1
TEAMModelOS/ClientApp/src/view/homepage/MinTable.vue

@@ -247,6 +247,7 @@ export default {
                         SUN: ''
                     }))
                     let tmw = this.getNextDay()
+                    console.log('今天',tmw)
                     // let tmw = 'WED'
                     this.fullCus.forEach((cusItem) => {
                         cusItem.schedule.forEach(schedItem => {
@@ -284,9 +285,10 @@ export default {
         },
         getNextDay() {
             let today = new Date().getDay()
+            console.log('今天是',today)
             let tomorrow
             if (today < 7) {
-                tomorrow = today++
+                tomorrow = ++today
             } else {
                 tomorrow = 1
             }