fix(buyer): 修复登录过期异常及全局请求错误处理

This commit is contained in:
pikachu1995@126.com
2026-11-09 16:06:33 +08:00
parent b2981b3ad7
commit ecbb80e24a
11 changed files with 384 additions and 100 deletions

View File

@@ -33,6 +33,12 @@ module.exports = {
},
devServer: {
port: configs.port,
client: {
overlay: {
// 保留编译错误和程序异常遮罩,仅跳过请求层已向用户提示的错误。
runtimeErrors: (error) => error?.[Symbol.for("lilishop.buyer.handledRequestError")] !== true,
},
},
},
productionSourceMap: false,
configureWebpack: {