From efb6a5ec38875cbb0726160b2372c3a45b0eef65 Mon Sep 17 00:00:00 2001 From: YuanHuakk <1751826683@qq.com> Date: Tue, 21 Nov 2023 18:14:20 +0800 Subject: [PATCH] =?UTF-8?q?test(custom):=20=E5=8E=BB=E9=99=A4=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.test | 2 +- src/router/index.js | 2 +- src/views/workbench/index.vue | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.env.test b/.env.test index 304db15..2a4622b 100644 --- a/.env.test +++ b/.env.test @@ -26,4 +26,4 @@ VITE_GAME_API='https://game.wanzhuanyongcheng.cn' VITE_MER_LOGIN_URL='//test.wanzhuanyongcheng.cn/static/mer/#/login' # 是否启用监控 -VITE_SENTRY=true +VITE_SENTRY=false diff --git a/src/router/index.js b/src/router/index.js index ced83fb..60d6e48 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -18,7 +18,7 @@ export async function setupRouter(app) { if (import.meta.env.VITE_SENTRY) { Sentry.init({ app, - dsn: 'https://a0b6f167271366f40f05e238d63a6fa0@w.huakk.top/11', + dsn: 'https://1c158d5f832eef396e69447959d902d2@w.huakk.top/12', integrations: [ new Sentry.BrowserTracing({ tracePropagationTargets: ['localhost', /^https:\/\/w\.huakk\.top\/api/], diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index 6c0f2b5..51564c3 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -55,8 +55,4 @@ import { useUserStore } from '@/store' const userStore = useUserStore() -// eslint-disable-next-line no-undef,no-unreachable -mytest() - -throw new Error('error')