-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
0 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,6 @@ import '@/permission' // permission control | |
|
||
import * as filters from './filters' // global filters | ||
|
||
import * as Sentry from '@sentry/vue' | ||
import { Integrations } from '@sentry/tracing' | ||
|
||
// set ElementUI lang to EN | ||
Vue.use(ElementUI, { size: Cookies.get('size') || 'mini' }) | ||
// 如果想要中文版 element-ui,按如下方式声明 | ||
|
@@ -33,22 +30,6 @@ Object.keys(filters).forEach(key => { | |
|
||
Vue.config.productionTip = false | ||
|
||
Sentry.init({ | ||
Vue, | ||
dsn: 'http://[email protected]/3', | ||
integrations: [ | ||
new Integrations.BrowserTracing({ | ||
routingInstrumentation: Sentry.vueRouterInstrumentation(router), | ||
tracingOrigins: ['localhost', 'my-site-url.com', /^\//] | ||
}) | ||
], | ||
logErrors: true, | ||
// Set tracesSampleRate to 1.0 to capture 100% | ||
// of transactions for performance monitoring. | ||
// We recommend adjusting this value in production | ||
tracesSampleRate: 1.0 | ||
}) | ||
|
||
new Vue({ | ||
el: '#app', | ||
router, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters