Commit ccee77ba by 前端

开发环境去掉sentry

1 parent eea79865
Showing 1 changed file with 4 additions and 1 deletions
......@@ -10,6 +10,7 @@
import checkUpdate from "@/uni_modules/uni-upgrade-center-app/utils/check-update-nvue.js";
import { mapState } from "vuex";
import * as sentry from "@/utils/sentryConfig/sentry-miniapp";
import { index } from "./env";
export default {
computed: {
...mapState("audio", ["isEnd", "isStart"]),
......@@ -44,7 +45,9 @@ export default {
},
onHide: function () {},
onError: function (e) {
sentry.captureException(e);
if (index == 3) {
sentry.captureException(e);
}
},
};
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!