perf: 调整
This commit is contained in:
@ -15,4 +15,4 @@ const COMPONENTS: AppRouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export default import.meta.env.VITE_ENV === 'development' ? COMPONENTS : [];
|
export default import.meta.env.VITE_ENV !== 'production' ? COMPONENTS : [];
|
||||||
|
|||||||
Reference in New Issue
Block a user