更新
This commit is contained in:
@@ -384,7 +384,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
colorJudge(time1, time2) {
|
||||
if(time2 === null) {
|
||||
if (time2 === null) {
|
||||
if ((new Date(time1) - this.now) > 0 && (new Date(time1) - this.now) < (86400000 * this.warningValue)) {
|
||||
return 'orange'
|
||||
} else if ((new Date(time1) - this.now) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user