Skip to content

Commit

Permalink
chore: remove default theme changed handle
Browse files Browse the repository at this point in the history
  • Loading branch information
sendya committed Jul 9, 2020
1 parent 1157f84 commit 5fb1fee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/layouts/BasicLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5fb1fee

Please sign in to comment.