소스 검색

[edit][sentry]

zhangwei 2 년 전
부모
커밋
c43c5b38bc
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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,