-
Beta Was this translation helpful? Give feedback.
Answered by
ByYogi
Feb 19, 2024
Replies: 1 comment
-
默认会自动映射定位到源码位置。https://umijs.org/docs/api/config#devtool 你可以尝试在代码写 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ByYogi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
默认会自动映射定位到源码位置。https://umijs.org/docs/api/config#devtool
你提供的截图不是你源码的报错,是antd的编译文件的报错。
你可以尝试在代码写
console.error("error")
。 然后再配置文件写devtool: false
, 观察这个配置false和不写false的差异