Ver Fonte

[edit][sentry]

zhangwei há 2 anos atrás
pai
commit
c43c5b38bc
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/uilts/sentry.js

+ 3 - 3
src/uilts/sentry.js

@@ -4,9 +4,9 @@ import { appVersionCode } from '@/http/configAPI.js'
 
 class CoutomSentry {
     initVue(app) {
-        // if (process.env.NODE_ENV != 'production') {
-        //     return
-        // }
+        if (process.env.NODE_ENV != 'production') {
+            return
+        }
 
         Sentry.init({
             app,