diff --git a/src/boot/global.js b/src/boot/global.js index d5f702b..d32c7d1 100644 --- a/src/boot/global.js +++ b/src/boot/global.js @@ -7,7 +7,8 @@ import programmings from '../js/programs.js'; // 配置数据存取 let defaultProfile = { commandCardStyle: "normal", - primaryColor: "#419488" + primaryColor: "#009688", + defaultPrimaryColor: "#009688", } let userProfile = UTOOLS.getDB( UTOOLS.DBPRE.CFG + "preferences" diff --git a/src/components/ConfigurationMenu.vue b/src/components/ConfigurationMenu.vue index 3e47624..fbfca49 100644 --- a/src/components/ConfigurationMenu.vue +++ b/src/components/ConfigurationMenu.vue @@ -247,7 +247,7 @@ export default { this.setCssVar("primary", this.$profile.primaryColor); }, resetPrimary() { - this.$profile.primaryColor = "#419488"; + this.$profile.primaryColor = this.$profile.defaultPrimaryColor; this.setPrimaryColor(); }, },