|
|
@@ -105,8 +105,8 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState, loa
|
|
|
|
|
|
let notificationLimit = 0 // 最大1
|
|
|
|
|
|
-const errorHandler = (error: any, opts: any) => {
|
|
|
- if (opts?.skipErrorHandler) throw error
|
|
|
+const errorHandler = (error: any) => {
|
|
|
+ // if (opts?.skipErrorHandler) throw error
|
|
|
const errorInfo = error.info
|
|
|
if (errorInfo) {
|
|
|
if (notificationLimit >= 1) {
|