jekip / naive-ui-admin

Naive Ui Admin 是一款基于 Vue3、Vite3 和 TypeScript 的先进中后台解决方案,集成了前沿的前端技术栈和典型业务模型。它拥有二次封装组件、动态菜单、权限校验、粒子化权限控制等核心功能,旨在帮助企业快速构建高质量的中后台项目。无论在新技术运用或业务实践层面,都能为您提供有力支持,并将持续更新,以满足您不断变化的需求
https://naive-ui-admin.vercel.app
MIT License
4.98k stars 922 forks source link

Refresh error - blank page when click the reload button #187

Closed clabnet closed 4 months ago

clabnet commented 2 years ago

On each page, when reloading the page with the Reload button on Top Bar or on each tab, the result is the same:

Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at insert (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:8191:16)
    at move (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:5123:9)
    at move (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:5096:7)
    at activeBranch.transition.afterLeave (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:2338:15)
    at performRemove (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:5210:20)
    at el._leaveCb (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:2850:9)
    at finishLeave (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:7792:13)
    at resolve2 (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:7822:30)
    at whenTransitionEnds (http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:7903:12)
    at http://localhost:8001/naive/node_modules/.vite/deps/chunk-V6FUCMFK.js?v=ae91ebc1:7830:11

Only when click CTRL+F5 the page will display.

jekip commented 2 years ago

I don't know what's going on over there with your sample tests okay