chore: 渲染器调试

This commit is contained in:
wangxuefeng
2025-03-21 19:54:59 +08:00
parent 6377c11721
commit e6b8146ee0
5 changed files with 197 additions and 127 deletions

View File

@@ -114,17 +114,7 @@ const initRequestConfig = () => {
});
};
// const mergeResponseInterceptors = () => {
// const responseHandlers = props.interceptors?.response?.handlers || [];
// responseHandlers.forEach((handler) => {
// if (isFn(handler?.fulfilled)) {
// request.useResponse(handler.fulfilled, handler.rejected);
// }
// });
// };
mergeRequestInterceptors();
// mergeResponseInterceptors();
};
// 显示加载中

View File

@@ -23,12 +23,6 @@ Sentry.init({
Sentry.replayIntegration(),
// 异常端信息追踪
Sentry.browserTracingIntegration(),
// 异常反馈
// Sentry.feedbackIntegration({
// colorScheme: 'system',
// isNameRequired: true,
// isEmailRequired: true,
// }),
],
// Session Replay
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.