feat: increase support for multiple time zones

* 优化实现方法
pull/256/head
zhongming4762 2025-10-29 20:14:48 +08:00
parent 212144feca
commit f46ae023ba
1 changed files with 6 additions and 5 deletions

View File

@ -1,14 +1,15 @@
import type { TimezoneOption } from '@vben/types';
import { requestClient } from '#/api/request'; import { requestClient } from '#/api/request';
/** /**
* *
*/ */
export async function getTimezoneOptionsApi() { export async function getTimezoneOptionsApi() {
return await requestClient.get<TimezoneOption[]>( return await requestClient.get<
'/timezone/getTimezoneOptions', {
); label: string;
value: string;
}[]
>('/timezone/getTimezoneOptions');
} }
/** /**
* *