mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-13 12:28:54 +08:00
fix(buyer): 修复登录过期异常及全局请求错误处理
This commit is contained in:
@@ -33,6 +33,12 @@ module.exports = {
|
||||
},
|
||||
devServer: {
|
||||
port: configs.port,
|
||||
client: {
|
||||
overlay: {
|
||||
// 保留编译错误和程序异常遮罩,仅跳过请求层已向用户提示的错误。
|
||||
runtimeErrors: (error) => error?.[Symbol.for("lilishop.buyer.handledRequestError")] !== true,
|
||||
},
|
||||
},
|
||||
},
|
||||
productionSourceMap: false,
|
||||
configureWebpack: {
|
||||
|
||||
Reference in New Issue
Block a user