|
@@ -853,7 +853,7 @@ export class HushijiandanComponent implements OnInit {
|
853
|
853
|
if (getMinutes(this.yyTime) != 30) {
|
854
|
854
|
this.yyTime = setMinutes(this.yyTime, 0);
|
855
|
855
|
}
|
856
|
|
- }else{
|
|
856
|
+ } else {
|
857
|
857
|
this.nextDay = false;
|
858
|
858
|
}
|
859
|
859
|
this.clickYYFlag = false;
|
|
@@ -863,7 +863,7 @@ export class HushijiandanComponent implements OnInit {
|
863
|
863
|
if (getMinutes(this.yyTimeZy) != 30) {
|
864
|
864
|
this.yyTimeZy = setMinutes(this.yyTimeZy, 0);
|
865
|
865
|
}
|
866
|
|
- }else{
|
|
866
|
+ } else {
|
867
|
867
|
this.nextDayZy = false;
|
868
|
868
|
}
|
869
|
869
|
this.clickYYZyFlag = false;
|
|
@@ -882,7 +882,8 @@ export class HushijiandanComponent implements OnInit {
|
882
|
882
|
this.disabledHours = () => [];
|
883
|
883
|
this.disabledMinutes = (hour) => [];
|
884
|
884
|
} else {
|
885
|
|
- this.yyTime = addDays(this.yyTime, -1);
|
|
885
|
+ // this.yyTime = addDays(this.yyTime, -1);
|
|
886
|
+ this.yyTime = null;
|
886
|
887
|
this.disabledHours = () => {
|
887
|
888
|
let now = new Date();
|
888
|
889
|
let nHour = now.getHours();
|
|
@@ -921,7 +922,9 @@ export class HushijiandanComponent implements OnInit {
|
921
|
922
|
this.disabledHours = () => [];
|
922
|
923
|
this.disabledMinutes = (hour) => [];
|
923
|
924
|
} else {
|
924
|
|
- this.yyTimeZy = addDays(this.yyTimeZy, -1);
|
|
925
|
+ console.log("狗血");
|
|
926
|
+ // this.yyTimeZy = addDays(this.yyTimeZy, -1);
|
|
927
|
+ this.yyTimeZy = null;
|
925
|
928
|
this.disabledHours = () => {
|
926
|
929
|
let now = new Date();
|
927
|
930
|
let nHour = now.getHours();
|