Browse Source

优化进入页面时间

heyang 3 years ago
parent
commit
46e9c18539
1 changed files with 2 additions and 1 deletions
  1. 2 1
      microserviceUserH5/vcloud/invite.html

+ 2 - 1
microserviceUserH5/vcloud/invite.html

@@ -92,6 +92,7 @@
 	<script type="text/javascript">
 	    let timer,flag = true;
 		let isShow = true;
+		let entryPageTime = new Date().Format("yyyy-MM-dd hh:mm:ss");
 		let fromType = 0,
 		    account = '',
 			password = '';
@@ -316,7 +317,7 @@
 		//调用免费换机接口
 		function changePhone(){
 			let data = {
-				inviteTime: new Date().Format("yyyy-MM-dd hh:mm:ss"),
+				inviteTime: entryPageTime,
 				type: fromType,
 				account: account,
 				password: password