|
@@ -427,7 +427,7 @@ export default {
|
|
|
lTime %= 60;
|
|
|
if (days > 0) {
|
|
|
overPer.loginTime = `${days}天${hours}小时`;
|
|
|
- } else if (days < 0 && hours > 0) {
|
|
|
+ } else if (days == 0 && hours > 0) {
|
|
|
overPer.loginTime = `${hours}小时${minutes}分钟`;
|
|
|
} else if (days == 0 && hours == 0 && minutes > 0) {
|
|
|
overPer.loginTime = `${minutes}分钟${loginAllTime}秒`;
|
|
@@ -446,7 +446,7 @@ export default {
|
|
|
sTime %= 60;
|
|
|
if (days1 > 0) {
|
|
|
overPer.studyTime = `${days1}天${hours1}小时`;
|
|
|
- } else if (days1 < 0 && hours1 > 0) {
|
|
|
+ } else if (days1 == 0 && hours1 > 0) {
|
|
|
overPer.studyTime = `${hours1}小时${minutes1}分钟`;
|
|
|
} else if (days1 == 0 && hours1 == 0 && minutes1 > 0) {
|
|
|
overPer.studyTime = `${minutes1}分钟${sTime}秒`;
|