naive-ui
naive-ui copied to clipboard
fix(upload): make onBeforeUpload serializable
Added e2e test using playwright. Run by pnpm run test:e2e
, or install https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright to debug.
The bug is tested at src/upload/tests/e2e.spec.js
. Comment line 9 and uncomment line 10 of src/_e2e/index.html
to reproduce.