From 5fb1fee1a558a01d05b65925a7d1c69fca865dce Mon Sep 17 00:00:00 2001 From: Sendya <18x@loacg.com> Date: Fri, 10 Jul 2020 00:50:47 +0800 Subject: [PATCH] chore: remove default theme changed handle --- src/layouts/BasicLayout.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index 70d2a4cac2..dc68a9d77c 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -112,7 +112,10 @@ export default { } // first update color - updateTheme(this.settings.primaryColor) + // TIPS: THEME COLOR HANDLER!! PLEASE CHECK THAT!! + if (process.env.NODE_ENV !== 'production' || process.env.VUE_APP_PREVIEW === 'true') { + updateTheme(this.settings.primaryColor) + } }, methods: { i18nRender,