// API配置 const env = import.meta.env.MODE || 'development'; const config = { development: { apiBaseUrl: 'http://192.168.5.102:48080', }, production: { apiBaseUrl: 'http://36.103.199.218:48088', } }; export const getApiBaseUrl = () => { return config[env].apiBaseUrl; }; export default config;