Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ice1.x 升级ice2.x build后页面报错 #6838

Open
Jianxq12 opened this issue Mar 22, 2024 · 5 comments
Open

ice1.x 升级ice2.x build后页面报错 #6838

Jianxq12 opened this issue Mar 22, 2024 · 5 comments

Comments

@Jianxq12
Copy link

Jianxq12 commented Mar 22, 2024

多页面应用,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,

image

@ClarkXia
Copy link
Collaborator

先结合 sourcemap 定位具体的报错位置

@ClarkXia
Copy link
Collaborator

最好有复现 demo 方便协助排查

@Jianxq12
Copy link
Author

最好有复现 demo 方便协助排查

公司项目,不便提供demo。打包文件的报错,发送请求时也会报错但不会导致页面崩溃,仅在清空表单必填项时报错致页面空白,报错位置如下:

35B38D82-12B9-489d-8A0F-7AB31F55FC97

@ClarkXia
Copy link
Collaborator

那先确认范围,比如这个报错位置是三方组件还是框架内置逻辑

@ClarkXia ClarkXia reopened this Mar 29, 2024
@ClarkXia
Copy link
Collaborator

尽量有个最小 demo 方便定位

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants