From 37e283784ec0da4cc8f173bc8a90a3d675eafa9c Mon Sep 17 00:00:00 2001 From: viarotel Date: Mon, 30 Oct 2023 18:18:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20macO?= =?UTF-8?q?S=20=E6=89=93=E5=8C=85=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json | 1 + package.json | 2 +- src/components/Preference/index.vue | 7 ------- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/electron-builder.json b/electron-builder.json index 7971ff19..54f99908 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -61,6 +61,7 @@ "to": "extra", "filter": ["common", "mac"] }, + "x64ArchFiles": "mac", "entitlementsInherit": "entitlements.mac.plist", "extendInfo": { "NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.", diff --git a/package.json b/package.json index b344b695..967e75d1 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "electron-log": "^5.0.0", "electron-store": "^8.1.0", "electron-updater": "^6.1.4", - "element-plus": "^2.4.0", + "element-plus": "^2.4.1", "fix-path": "^4.0.0", "fs-extra": "^11.1.1", "lodash-es": "^4.17.21", diff --git a/src/components/Preference/index.vue b/src/components/Preference/index.vue index fb29dba1..c6fc4a40 100644 --- a/src/components/Preference/index.vue +++ b/src/components/Preference/index.vue @@ -247,13 +247,6 @@ export default { this.$store.theme.update(value) }, }, - 'preferenceData.language': { - handler(value) { - console.log('preferenceData.language.value', value) - console.log('locale', this.locale) - this.locale = value - }, - }, // 列表设备发生变化后如果没有匹配到则默认选中 global 'scopeList': { handler(value) {