spencer17x
spencer17x
You can set 'window.global = window;' solve
Of course, but I think we still have to fix this problem, because other libraries won't have this problem. I can pr go to the readme first, and then try...
I found a way to adapt the vite project without modifying the emoji-picker-react source code, and added the solution to the readme through pr. @ealush
http // ... .headers() .contentTypeOptions().disable() 是在后端代码写吗?还是前端直接写在JS里面?
试了还是不行,二维码是能生成,但是长按没反应
@zc422 是的,就安卓9就不行,其他都行,二维码是正常生成了的,之前也是正常,升级了系统就凉了
js: new QRCode($('.qrcode')[0], { text: "https://xcx.hexiaoxiang.com/cup_race?refer_id=" + refer_id + "&record_id=" + record_id, width: 128, height: 128 }); html:
@zc422 function _getAndroid() { var android = false; var sAgent = navigator.userAgent; if (/android/i.test(sAgent)) { // android android = true; var aMat = sAgent.toString().match(/android ([0-9].?[0-9]?)/i); if (aMat && aMat[1]) {...
作者为啥不把修复过的代码添加到仓库里,我看仓库里的代码还是旧的。
node_modules删除重装试试