mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 23:10:18 +08:00
refactor(projects): 添加exportDefaults替换defineProps
This commit is contained in:
@@ -25,7 +25,7 @@ function hasChildren(route: RouteRecordRaw) {
|
||||
}
|
||||
|
||||
/** 获取被缓存的路由 */
|
||||
export default function getCacheRoutes(routes: RouteRecordRaw[]) {
|
||||
export function getCacheRoutes(routes: RouteRecordRaw[]) {
|
||||
const cacheNames: string[] = [];
|
||||
routes.forEach(route => {
|
||||
const isCache = isKeepAlive(route);
|
||||
|
||||
Reference in New Issue
Block a user