上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 可以使用bar3d方式曲线添加 阅读全文
posted @ 2025-02-19 15:13 暖暖De幸福 阅读(276) 评论(0) 推荐(0)
摘要: 使用geo3D 设置3D地图 ,label的show属性设置成true之后一直出现缓存警告,且无法显示省份名称在地图上:GL_INVALID_OPERATION:Insufficient buffer size 经过再网上查询排查,确定是南海海岸线的问题,南海海岸线这一条数据,name为空字串,解决 阅读全文
posted @ 2025-02-19 09:02 暖暖De幸福 阅读(130) 评论(0) 推荐(0)
摘要: 安装 勾选 Add Python 3.9 to PATH,再点击 Customize installation 勾选 Install for all users cmd -> python com -> pip 安装依赖 pip insstall pandas 打包exe 打包不会打包配置文件及日志 阅读全文
posted @ 2025-02-08 08:44 暖暖De幸福 阅读(14) 评论(0) 推荐(0)
摘要: 1、添加虚线 stroke="#979797" stroke-width="1" stroke-dasharray="3,3" 2、文字纵向 writing-mode="vertical-rl" 阅读全文
posted @ 2024-12-27 16:26 暖暖De幸福 阅读(8) 评论(0) 推荐(0)
摘要: title: { text: [ "{a|15%}", "{b|YIELD}" ].join("\n"), subtext: "", itemGap: 5, left: 'center', top: 'center', // 将标题放置在圆环的中间 position: 'inside', // 将标 阅读全文
posted @ 2024-12-27 15:44 暖暖De幸福 阅读(199) 评论(0) 推荐(0)
摘要: const { app, BrowserWindow, globalShortcut, webContents, Tray, Menu, } = require("electron"); let win = null; const createWindow = () => { win = new B 阅读全文
posted @ 2024-12-25 10:05 暖暖De幸福 阅读(44) 评论(0) 推荐(0)
摘要: const { app, BrowserWindow, globalShortcut, webContents } = require("electron"); app.on("ready", async () => { createWindow(); globalShortcut.register 阅读全文
posted @ 2024-12-25 09:44 暖暖De幸福 阅读(121) 评论(0) 推荐(0)
摘要: 什么是预加载脚本? Electron 的主进程是一个拥有着完全操作系统访问权限的 Node.js 环境, 另一方面,出于安全原因,渲染进程默认跑在网页页面上,而并非 Node.js里。 为了将 Electron 的不同类型的进程桥接在一起,我们需要使用被称为 预加载 的特殊脚本。 使用预加载脚本来增 阅读全文
posted @ 2024-12-24 17:51 暖暖De幸福 阅读(122) 评论(0) 推荐(0)
摘要: 应用窗口在不同操作系统中的行为也不同。 Electron 允许您自行实现这些行为来遵循操作系统的规范,而不是采用默认的强制执行。 您可以通过监听 app 和 BrowserWindow 模组的事件,自行实现基础的应用窗口规范。 针对特定进程的控制流 通过检查 Node.js 的 process.pl 阅读全文
posted @ 2024-12-24 17:09 暖暖De幸福 阅读(26) 评论(0) 推荐(0)
摘要: 安装electron 1.初始化配置文件 npm init #entry point 应为 main.js. 2.安装electron npm install --save-dev electron 3.在package.json 中添加启动命令 "start": "electron ." main 阅读全文
posted @ 2024-12-24 13:40 暖暖De幸福 阅读(40) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 13 下一页