Skip to content

Commit 5fb1fee

Browse files
committedJul 9, 2020
chore: remove default theme changed handle
1 parent 1157f84 commit 5fb1fee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎src/layouts/BasicLayout.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ export default {
112112
}
113113
114114
// first update color
115-
updateTheme(this.settings.primaryColor)
115+
// TIPS: THEME COLOR HANDLER!! PLEASE CHECK THAT!!
116+
if (process.env.NODE_ENV !== 'production' || process.env.VUE_APP_PREVIEW === 'true') {
117+
updateTheme(this.settings.primaryColor)
118+
}
116119
},
117120
methods: {
118121
i18nRender,

0 commit comments

Comments
 (0)
Failed to load comments.