mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-25 17:56:39 +08:00
lint: prettier
This commit is contained in:
parent
3e38604119
commit
d93e7ad015
|
@ -35,13 +35,13 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
isElectron: process.env.IS_ELECTRON // "true" || undefined
|
||||
}
|
||||
isElectron: process.env.IS_ELECTRON, // "true" || undefined
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (this.isElectron) {
|
||||
// 添加专有的类名
|
||||
document.body.classList.add('is-electron')
|
||||
document.body.classList.add("is-electron");
|
||||
// ipc message channel
|
||||
const electron = window.require("electron");
|
||||
const ipcRenderer = electron.ipcRenderer;
|
||||
|
|
|
@ -102,4 +102,3 @@ const touchBar = new TouchBar({
|
|||
// })
|
||||
|
||||
module.exports = touchBar;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user