Explorar o código

fix(deps): 解决主题无法切换的问题

free pan %!s(int64=5) %!d(string=hai) anos
pai
achega
c4ce348a03
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -111,7 +111,7 @@ const vueConfig = {
 }
 
 // preview.pro.loacg.com only do not use in your production;
-if (isProd()) {
+if (!isProd()) {
   // add `ThemeColorReplacer` plugin to webpack plugins
   vueConfig.configureWebpack.plugins.push(createThemeColorReplacerPlugin())
 }