瀏覽代碼

[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,