import html2canvas from 'html2canvas'; exportPDF() { // 导出为 pdf let dom = document.querySelector('yourcssselector'); let height = parseInt(dom.style.height) + + 'px'; window.d = dom; let that = this; setTimeout(function() { html2canvas(dom,{ backgrou…
public class CookieTestServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { /*这里是检测浏览器能包含多少个Cookie for(int i=0;i<100;i++){ Cookie c = new Cookie("name"…