From 4e975dc171227dea77c6003380c19a544e8b88a4 Mon Sep 17 00:00:00 2001 From: lujiehui Date: Thu, 7 Nov 2019 18:53:14 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=88=A0=E9=99=A4sentry'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.js b/src/main.js index 4ae2f7b..5e8a249 100644 --- a/src/main.js +++ b/src/main.js @@ -10,8 +10,6 @@ import '@/icons' // icon import '@/style/common.scss' import { Lazyload } from 'vant' import defaultSettings from '@/settings' -import * as Sentry from '@sentry/browser' -import * as Integrations from '@sentry/integrations' /** * If you don't want to use mock-server @@ -23,10 +21,6 @@ import * as Integrations from '@sentry/integrations' */ import { mockXHR } from '../mock' -Sentry.init({ - dsn: 'https://8754d430a56949cda312695f5586b2df@sentry.io/1800421', - integrations: [new Integrations.Vue({ Vue, attachProps: true })] -}) if (process.env.NODE_ENV === 'production') { mockXHR() }