From d93e7ad015f7040f5ed8fa7e7ef05240f89fd1df Mon Sep 17 00:00:00 2001 From: kunkka Date: Sat, 31 Oct 2020 14:03:41 +0800 Subject: [PATCH] lint: prettier --- src/App.vue | 6 +++--- src/electron/touchbar.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 79178d3..dab84a1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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; diff --git a/src/electron/touchbar.js b/src/electron/touchbar.js index 8b1023d..752b000 100644 --- a/src/electron/touchbar.js +++ b/src/electron/touchbar.js @@ -102,4 +102,3 @@ const touchBar = new TouchBar({ // }) module.exports = touchBar; -