heyang hace 3 años
padre
commit
6374745d26
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      microserviceUserH5/vcloud/invite.html

+ 1 - 1
microserviceUserH5/vcloud/invite.html

@@ -190,7 +190,7 @@
 			stopManyClick(() => {
 				var oInput = document.createElement('input'); //创建一个input
 				oInput.setAttribute("readonly", "readonly");//设置只读,否则移动端使用复制功能时可能会造成软件盘弹出
-				oInput.value = window.location.href;
+				oInput.value = window.location.href || 'https://client.androidscloud.com/h5/microserviceUserH5/vcloud/invite.html';
 				$('.ipt')[0].appendChild(oInput);//将input插入到body
 				// oInput.select(); // 选择对象 ios不支持
 				selectText(oInput, 0, oInput.value.length);