|
@@ -10,6 +10,7 @@ const reportErr=(app)=>{
|
|
|
stack:err.stack
|
|
|
}
|
|
|
if(import.meta.env.MODE==='production'){
|
|
|
+ if(!errObj.msg||errObj.msg=='wx is not defined') return
|
|
|
apiReportingErrInfo({errInfo:errObj})
|
|
|
}
|
|
|
}
|
|
@@ -21,6 +22,7 @@ const reportErr=(app)=>{
|
|
|
stack:e.error?.stack
|
|
|
}
|
|
|
if(import.meta.env.MODE==='production'){
|
|
|
+ if(!errObj.msg||errObj.msg=='wx is not defined') return
|
|
|
apiReportingErrInfo({errInfo:errObj})
|
|
|
}
|
|
|
})
|