相关文章推荐

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

Browser and its version (浏览器及其版本)

Google Chrome 112.0.5615.138

System and its version (系统及其版本)

Windows10 21H2

Node version (Node 版本)

18.16.0

Reappearance link (重现链接)

https://codesandbox.io/s/naiveui-form-validate-icxxo9?file=/src/App.vue

Reappearance steps (重现步骤)

点击按钮触发form的validate方法,报错

Expected results (期望的结果)

正常返回校验结果不报错

Actual results (实际的结果)

Uncaught runtime errors:
ERROR
[object Object]
    at handleError (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:299:58)
    at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:322:7)

Remarks (补充说明)

Vite中正常,Webpack报错

 
推荐文章