Open Jianxq12 opened 3 months ago
多页面应用,ice.js 1.x升级到2.6.6版本后,本地运行正常,打包部署后,清空表单必填项时,控制台会报错导致页面崩溃。
版本信息: ice.js:2.6.6, react:17.0.1, antd:4.24.1, node:18.16.0,
配置信息: hash:'contenthash', mpa:true,
先结合 sourcemap 定位具体的报错位置
最好有复现 demo 方便协助排查
公司项目,不便提供demo。打包文件的报错,发送请求时也会报错但不会导致页面崩溃,仅在清空表单必填项时报错致页面空白,报错位置如下:
那先确认范围,比如这个报错位置是三方组件还是框架内置逻辑
尽量有个最小 demo 方便定位
多页面应用,ice.js 1.x升级到2.6.6版本后,本地运行正常,打包部署后,清空表单必填项时,控制台会报错导致页面崩溃。
版本信息: ice.js:2.6.6, react:17.0.1, antd:4.24.1, node:18.16.0,
配置信息: hash:'contenthash', mpa:true,