Lei Haipeng

Results 17 comments of Lei Haipeng

<customtag role="a" href="#">this is an anchor</customtag> <customtag role="input" value="123" /> <customtag role="submit" value="post" />

直接在a链接上加data-ajax=false直接跳转,因为框架自己是做了跳转劫持,通过ajax跳转的,你跳转到QQ的网站上去就是跨域了,跨域就提示上面的信息!~

你可以看看 http://www.zhangxinxu.com/wordpress/2014/10/mobilebone-js-mobile-web-app-core/ 第五条第5点:避免Ajax加载,使用传统刷新

你的webview是不是没定宽高而是让html页面定宽高的?

@surunzi @avwo 大佬们这个插件还维护不?

just set scale. like: ``` html2canvas(document.body, { logging: true, // set screenshot less than 4,096 x 4,096px scale: Math.min(window.devicePixelRatio, 2), ignoreElements: function ignoreElements(element) { // ignore eruda if (element.closest('.__chobitsu-hide__')) {...

Just download the code pen's source code from https://github.com/reyhappen/vitejs-vite-9dec7fln. Run `npm install` & `npm start` in terminal

or visit https://codesandbox.io/p/devbox/dreamy-gagarin-4783sv