electron项目中jquery没法用的解决方法,比较简单的方式就是在引入jquery之前加入一下代码:
<script>
window.nodeRequire = require;
delete window.require;
delete window.exports;
delete window.module;
</script>
(exe)
electron项目中jquery没法用的解决方法,比较简单的方式就是在引入jquery之前加入一下代码:
<script>
window.nodeRequire = require;
delete window.require;
delete window.exports;
delete window.module;
</script>
(exe)