|
@@ -7451,7 +7451,15 @@ export default {
|
|
|
console.log(this.getFunc("aigpt"), "aigpt"); // AIGPT
|
|
|
console.log(this.getFunc("works"), "works"); // 作品收集任務數
|
|
|
console.log(this.getFunc("clients"), "clients"); // 連線人數
|
|
|
- this.limitTime = this.getFunc("clients").isDeadline == true ? moment(this.getFunc("clients").exp * 1000).format("YYYY.MM.DD") : 0;
|
|
|
+ if(this.getFunc("clients").isDeadline == true) {
|
|
|
+ let clientExp = this.getFunc("clients").exp * 1000
|
|
|
+ let now = new Date().getTime()
|
|
|
+
|
|
|
+ if((clientExp - now) < 1576800000000) {
|
|
|
+ this.limitTime = moment(this.getFunc("clients").exp * 1000).format("YYYY.MM.DD")
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // this.limitTime = this.getFunc("clients").isDeadline == true ? moment(this.getFunc("clients").exp * 1000).format("YYYY.MM.DD") : 0;
|
|
|
this.aigptTime = this.getFunc("aigpt").isDeadline == true ? moment(this.getFunc("aigpt").exp * 1000).format("YYYY.MM.DD") : 0;
|
|
|
console.log(this.limitTime, "exptime");
|
|
|
console.log(this.aigptTime, "aigptTime");
|