mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
v3.8.1发布,上传前端代码
This commit is contained in:
5
jeecgboot-vue3/electron/preload/index.ts
Normal file
5
jeecgboot-vue3/electron/preload/index.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import {contextBridge, ipcRenderer} from 'electron'
|
||||
|
||||
contextBridge.exposeInMainWorld('_ELECTRON_PRELOAD_UTILS_', {
|
||||
openInBrowser: (url: string) => ipcRenderer.send('open-in-browser', url),
|
||||
});
|
||||
Reference in New Issue
Block a user