pany

Results 13 comments of pany

上手成本偏低的: https://github.com/un-pany/v3-admin 有一定上手成本但更加全面的: https://github.com/hooray/fantastic-admin https://github.com/xiaoxian521/vue-pure-admin

如果你想几乎无缝从 vue-element-admin 迁移,可以考虑一下 @https://github.com/un-pany/v3-admin

来个自荐https://github.com/un-pany/v3-admin

这个项目的开发环境,能直接复现这个问题 https://github.com/un-pany/v3-admin-vite

> > 这个项目的开发环境,能直接复现这个问题 https://github.com/un-pany/v3-admin-vite > > 打包后还会存在这个问题吗? 暂时没发现打包后有任务问题

等作者的 vue3 出来前,可以先看看这个简单的版本 @https://github.com/un-pany/v3-admin

在 v3-admin 的基础上,我们又推出了 Vite 版本,采用 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术:https://github.com/un-pany/v3-admin-vite

暂时能想到就是你描述中的办法。其他的,比如 1. 做一套提示用户手动刷新页面的更新机制;2. 部署的时候保留旧版代码。但是实现起来的话,都要复杂许多。

如果你在 router.error 中判断后刷新页面,担心会出现无限刷新的问题。那你可以尝试一下先删除用户凭证再刷新页面,这样页面将重定向到登录页,应该能避免很多问题

> 打开侧边栏有比较明显的拖影,不知道能否优化 ![GIFMaker_me](https://user-images.githubusercontent.com/15769004/264076183-42c4ec2e-59fa-440d-bd1c-6ccc03a5b213.gif) 拖影指的是啥?黑色背景有一点延迟?还是抽屉打开时的渐入渐出动画?