cancel timezone error
This commit is contained in:
18
ui/app.js
18
ui/app.js
@@ -286,16 +286,16 @@ function startApp(rootEl) {
|
||||
clientTime = new Date().getTime(),
|
||||
timeDiff = Math.abs(serverTime - clientTime);
|
||||
|
||||
if (timeDiff > maxTimeDiff) {
|
||||
this.loadErr =
|
||||
"The time difference between this client " +
|
||||
"and the backend server is beyond operational limit.\r\n\r\n" +
|
||||
"Please try reload the page, and if the problem persisted, " +
|
||||
"consider to adjust your local time so both the client and " +
|
||||
"the server are running at same date time";
|
||||
// if (timeDiff > maxTimeDiff) {
|
||||
// this.loadErr =
|
||||
// "The time difference between this client " +
|
||||
// "and the backend server is beyond operational limit.\r\n\r\n" +
|
||||
// "Please try reload the page, and if the problem persisted, " +
|
||||
// "consider to adjust your local time so both the client and " +
|
||||
// "the server are running at same date time";
|
||||
|
||||
return;
|
||||
}
|
||||
// return;
|
||||
// }
|
||||
}
|
||||
|
||||
let self = this;
|
||||
|
||||
Reference in New Issue
Block a user