<br />
<b>Warning</b>:  Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\class\discuz\discuz_database.php</b> on line <b>86</b><br />
<br />
<b>Warning</b>:  Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\class\discuz\discuz_database.php</b> on line <b>86</b><br />
<br />
<b>Warning</b>:  Use of undefined constant setting - assumed 'setting' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>76</b><br />
<br />
<b>Warning</b>:  Use of undefined constant bbname - assumed 'bbname' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>76</b><br />
<br />
<b>Warning</b>:  Use of undefined constant siteurl - assumed 'siteurl' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>77</b><br />
<br />
<b>Warning</b>:  Use of undefined constant setting - assumed 'setting' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>80</b><br />
<br />
<b>Warning</b>:  Use of undefined constant bbname - assumed 'bbname' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>80</b><br />
<br />
<b>Warning</b>:  Use of undefined constant siteurl - assumed 'siteurl' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>85</b><br />
<br />
<b>Warning</b>:  Use of undefined constant setting - assumed 'setting' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>86</b><br />
<br />
<b>Warning</b>:  Use of undefined constant bbname - assumed 'bbname' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>86</b><br />
<br />
<b>Warning</b>:  Use of undefined constant siteurl - assumed 'siteurl' (this will throw an Error in a future version of PHP) in <b>D:\wwwroot\net188.com\source\module\forum\forum_rss.php</b> on line <b>87</b><br />
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>依星源码资源网,依星资源网 - Electron+VUE教程</title>
    <link>http://www.net188.com/forum-66-1.html</link>
    <description>Latest 20 threads of Electron+VUE教程</description>
    <copyright>Copyright(C) 依星源码资源网,依星资源网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 30 Jun 2026 05:27:15 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.net188.com/static/image/common/logo_88_31.gif</url>
      <title>依星源码资源网,依星资源网</title>
      <link>http://www.net188.com/</link>
    </image>
    <item>
      <title>Electron兼容 Windows 7 的完整解决方案（推荐方案）</title>
      <link>http://www.net188.com/thread-26058-1-1.html</link>
      <description><![CDATA[Electron兼容 Windows 7 的完整解决方案（推荐方案）

1. ‌使用 Electron v1.8.8（最后支持 Win7 的稳定版）‌这是唯一能稳定运行在 Windows 7 SP1 上的 Electron 版本。更高版本（如 v2.0+）会因使用 CreateThreadpoolWait 等 XP/7 不支持的 API 而崩溃。
[*]‌打包工 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Fri, 23 Jan 2026 06:58:31 +0000</pubDate>
    </item>
    <item>
      <title>is-elevated使用中CommonJS/ESM不兼容导致的错误，两种修法</title>
      <link>http://www.net188.com/thread-24790-1-1.html</link>
      <description><![CDATA[is-elevated不兼容导致的错误，两种修法

这是 CommonJS/ESM 不兼容导致的。is-elevated 新版是 ESM-only，不能用 require()。两种修法：方案A：改成动态 import（保留 CommonJS）
方案B：改用 CommonJS 版本的 is-elevated
然后继续用：备注
[*]不要在 CommonJS 里用 i ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Fri, 31 Oct 2025 07:02:36 +0000</pubDate>
    </item>
    <item>
      <title>Windows 下两种常见方式让 Electron 以“管理员”运行</title>
      <link>http://www.net188.com/thread-24789-1-1.html</link>
      <description><![CDATA[在 Windows 下有两种常见方式让 Electron 以“管理员”运行：方案一：打包时给 exe 加 UAC 清单（每次启动都会弹 UAC）
[*]使用 electron-builder 最简单：
说明
[*]每次运行主程序都会触发 UAC 提升。
[*]若只想安装器提权，把 requestedExecutionLevel 去掉，仅保留 n ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Fri, 31 Oct 2025 06:46:44 +0000</pubDate>
    </item>
    <item>
      <title>A JavaScript error occurred in the main process,electron-dl 在处理 will-download 事件时把 webContents 当成必然存在导致的异常</title>
      <link>http://www.net188.com/thread-24788-1-1.html</link>
      <description><![CDATA[A JavaScript error occurred in the main process

这是 electron-dl 在处理 will-download 事件时把 webContents 当成必然存在导致的异常。启动下载是由 session.downloadURL(...)（或窗口已被关闭）触发时，回调参数 webContents 可能为 null；electron-dl 里会调用  ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Fri, 31 Oct 2025 06:28:05 +0000</pubDate>
    </item>
    <item>
      <title>Node.js下载安装及环境配置教程 (详细版)</title>
      <link>http://www.net188.com/thread-18057-1-1.html</link>
      <description><![CDATA[Node.js下载安装及环境配置教程 (详细版)


1.下载安装包 官网：Node.js — Run JavaScript EverywhereNode.js — Run JavaScript EverywhereNode.js — Run JavaScript Everywhere
中文官网：Node.js — 在任何地方运行 JavaScript
下载对应你系统的Node.js版本：Node. ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Wed, 30 Apr 2025 07:33:03 +0000</pubDate>
    </item>
    <item>
      <title>查看已安装的Node.js是32位还是64位版本</title>
      <link>http://www.net188.com/thread-18056-1-1.html</link>
      <description><![CDATA[查看已安装的Node.js是32位还是64位版本
要查看已安装的Node.js是32位还是64位版本，可通过以下方法实现：

一、通过Node.js内置方法检测

使用process.arch属性‌
在终端中运行以下命令：



输出为x64表示64位系统。
输出为ia32或x86表示32位系统。

通过os.arch()方 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Wed, 30 Apr 2025 06:21:06 +0000</pubDate>
    </item>
    <item>
      <title>(node:6656) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 page09_2_mod01_update listeners added to [IpcMainImpl]. Use emitter.setMaxListeners() to increase limit</title>
      <link>http://www.net188.com/thread-12016-1-1.html</link>
      <description><![CDATA[(node:6656) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 page09_2_mod01_update listeners added to . Use emitter.setMaxListeners() to increase limit
在 Node.js 中，EventEmitter 是用来处理事件的一个基础构件。当你为一个事 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:42:23 +0000</pubDate>
    </item>
    <item>
      <title>electron页面中的onload会被多次执行</title>
      <link>http://www.net188.com/thread-12015-1-1.html</link>
      <description><![CDATA[electron页面中的onload会被多次执行
在 Electron 应用中，如果你发现页面中的 onload 事件处理器被多次执行，这通常是因为页面被多次加载导致的。每次你创建一个新的 BrowserWindow 实例并加载相同的 URL 时，页面都会从头开始加载，包括执行所有的 JavaScript 代码和 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:41:24 +0000</pubDate>
    </item>
    <item>
      <title>electron中，窗口被创建了几次，并关闭几次，但页面会被加载多次</title>
      <link>http://www.net188.com/thread-12014-1-1.html</link>
      <description><![CDATA[electron中，窗口被创建了几次，并关闭几次，但页面会被加载多次
在 Electron 中，如果窗口被多次创建并关闭，而每次创建窗口时都加载相同的页面或接口，那么页面确实会被加载多次。这是因为每次 new BrowserWindow() 被调用时，都会创建一个全新的 BrowserWindow 实例 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:40:01 +0000</pubDate>
    </item>
    <item>
      <title>electron执行modWindow = new BrowserWindow多次,这个新的窗口注会加载多次接口</title>
      <link>http://www.net188.com/thread-12013-1-1.html</link>
      <description><![CDATA[electron执行modWindow = new BrowserWindow多次,这个新的窗口注会加载多次接口
在 Electron 中，每次你创建一个新的 BrowserWindow 实例（通过 new BrowserWindow()），你通常会加载一个 URL 或者一个 HTML 文件来显示在该窗口中。如果这个 URL 是一个远端的 API 或者 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:38:39 +0000</pubDate>
    </item>
    <item>
      <title>如何在  newWindow.html  中向新窗口的渲染进程发送消息</title>
      <link>http://www.net188.com/thread-12012-1-1.html</link>
      <description><![CDATA[如何在  newWindow.html  中向新窗口的渲染进程发送消息

 ### 1. 主进程代码（main.js）


### 2. 渲染进程代码（index.html）


### 3. 新窗口的 HTML 文件（newWindow.html）


### 4. 更新主进程以接收新窗口的消息
在  `main.js`  中添加以下代码，以便接收来自新 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:36:16 +0000</pubDate>
    </item>
    <item>
      <title>如何在 Electron 中创建一个新窗口，并在该窗口中接收来自主进程的消息</title>
      <link>http://www.net188.com/thread-12011-1-1.html</link>
      <description><![CDATA[如何在 Electron 中创建一个新窗口，并在该窗口中接收来自主进程的消息 ### 1. 主进程代码（main.js）


### 2. 渲染进程代码（index.html）
### 3. 新窗口的 HTML 文件（newWindow.html）[/backcolor]


### 说明
1. **主进程**：
   - 当主窗口接收到来自渲染进程的消 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:34:53 +0000</pubDate>
    </item>
    <item>
      <title>electron 主进程中弹出窗口中接收渲染进程消息</title>
      <link>http://www.net188.com/thread-12010-1-1.html</link>
      <description><![CDATA[electron 主进程中弹出窗口中接收渲染进程消息
在 Electron 中，主进程和渲染进程之间的通信可以通过 IPC（Inter-Process Communication）来实现。你可以使用  `ipcMain`  和  `ipcRenderer`  模块来发送和接收消息。以下是一个示例，展示了如何在主进程中弹出一个窗口 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Mon, 28 Oct 2024 01:33:42 +0000</pubDate>
    </item>
    <item>
      <title>一个全能的electron打印插件electron-pos-printer</title>
      <link>http://www.net188.com/thread-11864-1-1.html</link>
      <description><![CDATA[一个全能的electron打印插件electron-pos-printer
可以一键打印图片、文本、二维码、条形码、表格不用安装其他多余插件，亲测十分好用electron-pos-printer1、安装
2、使用在main主进程中引入在render渲染进程中引入定义参数
注意：页面大小需要根据你的纸张大小自己调 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>admin</author>
      <pubDate>Sat, 19 Oct 2024 09:59:15 +0000</pubDate>
    </item>
    <item>
      <title>Electron 打印功能的实现</title>
      <link>http://www.net188.com/thread-11863-1-1.html</link>
      <description><![CDATA[Electron 打印功能的实现
Electron中的打印功能有以下几种方式：webContents的print和printToPDF方法、webview标签的print和printToPDF方法、iframe的print方法。
关于print方法，webContents、webview和iframe都是调用的浏览器自带的打印功能，虽然Electron文档中罗列 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>admin</author>
      <pubDate>Sat, 19 Oct 2024 09:52:51 +0000</pubDate>
    </item>
    <item>
      <title>electron中实现模板打印</title>
      <link>http://www.net188.com/thread-11862-1-1.html</link>
      <description><![CDATA[electron中实现模板打印
在Electron中实现模板打印，通常需要以下步骤：

使用Electron的webContents模块来加载HTML模板。

使用print方法来触发打印。

以下是一个简单的例子，展示如何在Electron应用中加载HTML模板并触发打印：

在这个例子中，我们首先创建了一个窗 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>admin</author>
      <pubDate>Sat, 19 Oct 2024 09:49:51 +0000</pubDate>
    </item>
    <item>
      <title>electron中实现打印功能</title>
      <link>http://www.net188.com/thread-11860-1-1.html</link>
      <description><![CDATA[electron中实现打印功能
在electron中实现打印功能，可以使用electron-print模块。以下是一个简单的例子，展示如何在Electron应用中实现打印功能：

首先，安装electron-print模块：

在你的主进程文件（例如main.js或index.js）中，引入print模块并使用它来打印：
在你 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>admin</author>
      <pubDate>Sat, 19 Oct 2024 08:29:42 +0000</pubDate>
    </item>
    <item>
      <title>electron关于doT.min.js在new BrowserWindow的窗口中无法找到的解决办法</title>
      <link>http://www.net188.com/thread-11859-1-1.html</link>
      <description><![CDATA[electron关于doT.min.js在new BrowserWindow的窗口中无法找到的解决办法
先说说情况以，在主进程中显示的渲染网页，引用doT.min.js是正常的。
由于项目需要，在主进程中new BrowserWindow的窗口也需要引用这个doT.min.js，但怎么调试都提示doT is not found,
解决办法如 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>admin</author>
      <pubDate>Sat, 19 Oct 2024 01:15:06 +0000</pubDate>
    </item>
    <item>
      <title>electron关闭窗口后再次打开时读取上次打开的数据</title>
      <link>http://www.net188.com/thread-11853-1-1.html</link>
      <description><![CDATA[electron关闭窗口后再次打开时读取上次打开的数据
要在关闭窗口后再次打开时读取上次打开的数据，可以将数据保存在一个变量中，并在窗口重新创建时加载这些数据。以下是改进后的示例代码：


在这个示例中，我们添加了一个  `lastURL`  变量来存储上次打开的 URL。当窗 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Fri, 18 Oct 2024 07:50:00 +0000</pubDate>
    </item>
    <item>
      <title>如何销毁electron通过new BrowserWindow的窗口</title>
      <link>http://www.net188.com/thread-11852-1-1.html</link>
      <description><![CDATA[如何销毁electron通过new BrowserWindow的窗口
在 Electron 中，可以通过调用  `BrowserWindow`  实例的  `close()`  方法来销毁窗口。以下是一个简单的示例：


在这个示例中， `closeWindow`  函数可以被调用以关闭窗口。当调用  `mainWindow.close()`  时，窗口会被 ...]]></description>
      <category>Electron+VUE教程</category>
      <author>源码资源网</author>
      <pubDate>Fri, 18 Oct 2024 07:32:05 +0000</pubDate>
    </item>
  </channel>
</rss>