소스 검색

优化进入页面时间

heyang 3 년 전
부모
커밋
46e9c18539
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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