mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 12:12:01 +08:00
feat: the production environment can be dynamically configured
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
import type { GlobEnvConfig } from '/@/types/config';
|
||||
|
||||
export const getGlobEnvConfig = (): GlobEnvConfig => {
|
||||
const env = import.meta.env;
|
||||
return (env as unknown) as GlobEnvConfig;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description: 开发模式
|
||||
*/
|
||||
|
Reference in New Issue
Block a user