Browse Source

[edit][test]

zhangwei 2 years ago
parent
commit
8473b90995
4 changed files with 19 additions and 19 deletions
  1. 0 18
      src/entry/popup.js
  2. 18 0
      src/iframe/red-packet.js
  3. 1 0
      src/view/iframe/red-packet/luck-draw.vue
  4. 0 1
      src/view/popup/index.vue

+ 0 - 18
src/entry/popup.js

@@ -9,24 +9,6 @@ import "ant-design-vue/dist/antd.css"; // or 'ant-design-vue/dist/antd.less'
 
 import {Button,message,Tooltip,Switch} from "ant-design-vue";
 
-// import * as Sentry from "@sentry/vue";
-// import { BrowserTracing } from "@sentry/tracing";
-
-
-// Sentry.init({
-//   app,
-//   dsn: "http://529fc1c357b248eda7473c119093f5db@sentry.denet.me/5",
-//   integrations: [
-//     new BrowserTracing({
-//       routingInstrumentation: Sentry.vueRouterInstrumentation(router),
-//       tracingOrigins: ["localhost", "my-site-url.com", /^\//],
-//     }),
-//   ],
-//   // Set tracesSampleRate to 1.0 to capture 100%
-//   // of transactions for performance monitoring.
-//   // We recommend adjusting this value in production
-//   tracesSampleRate: 1.0,
-// });
 
 message.config({
     top: `10px`,

+ 18 - 0
src/iframe/red-packet.js

@@ -6,6 +6,24 @@ const app = createApp(App)
 import "ant-design-vue/dist/antd.css"; // or 'ant-design-vue/dist/antd.less'
 import "@/assets/css/reset.css";
 
+// import * as Sentry from "@sentry/vue";
+// import { BrowserTracing } from "@sentry/tracing";
+
+
+// Sentry.init({
+//   app,
+//   dsn: "http://529fc1c357b248eda7473c119093f5db@sentry.denet.me/5",
+//   integrations: [
+//     new BrowserTracing({
+//       tracingOrigins: ["localhost", "my-site-url.com", /^\//],
+//     }),
+//   ],
+//   // Set tracesSampleRate to 1.0 to capture 100%
+//   // of transactions for performance monitoring.
+//   // We recommend adjusting this value in production
+//   tracesSampleRate: 1.0,
+// });
+
 import { message, Tooltip, Switch } from "ant-design-vue";
 message.config({
     top: `10px`,

+ 1 - 0
src/view/iframe/red-packet/luck-draw.vue

@@ -489,6 +489,7 @@ let fullName = '';
 function clickRetry() {
     init()
 }
+console.log(asdasd)
 
 let follow_open_tabs = []
 

+ 0 - 1
src/view/popup/index.vue

@@ -30,7 +30,6 @@ onMounted(() => {
   if (window.location.href.indexOf('home.html') > 0) {
     state.popup = false
   }
-  // console.log(asdas)
 })
 
 </script>