diff --git a/src/modules/energy/ElectricDaily.tsx b/src/modules/energy/ElectricDaily.tsx index 93f4fef..1adb7d9 100644 --- a/src/modules/energy/ElectricDaily.tsx +++ b/src/modules/energy/ElectricDaily.tsx @@ -6,7 +6,7 @@ import { fetchElectricMonthly } from './api'; import type { CustomerType, ElectricMonthGroup } from './types'; export default function ElectricDaily() { - const [customer, setCustomer] = useState('external'); + const [customer, setCustomer] = useState('lingniu'); const [months, setMonths] = useState(null); const [openMonths, setOpenMonths] = useState>(new Set()); const [error, setError] = useState(null); @@ -35,7 +35,7 @@ export default function ElectricDaily() {
{/* 客户类型 */}
- {(['external', 'lingniu'] as const).map(c => ( + {(['lingniu', 'external'] as const).map(c => (