标签:control else eve text color ntb 解决方案 blog ice
1 var clipboardData = window.clipboardData; //for IE 2 if (!clipboardData) { // for chrome 3 window.prompt("按下Ctrl+C复制", adress); 4 }else{ 5 clipboardData.setData(‘Text‘, adress); 6 eventBusService.publish(controllerName,‘appPart.load.modal.alert‘, {"title":"操作提示","content":"复制成功!"}); //弹出提示框 7 }
标签:control else eve text color ntb 解决方案 blog ice
原文地址:http://www.cnblogs.com/remember-forget/p/7574203.html