mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix: UI improvements
This commit is contained in:
parent
6954d91907
commit
5f0828342c
3 changed files with 8 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
export function ipcRenderer(vueInstance) {
|
||||
const self = vueInstance;
|
||||
// 添加专有的类名
|
||||
document.body.classList.add("is-electron");
|
||||
document.body.setAttribute("data-electron", "yes");
|
||||
// ipc message channel
|
||||
const electron = window.require("electron");
|
||||
const ipcRenderer = electron.ipcRenderer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue