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,