mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-08 07:31:09 +08:00
11 lines
229 B
TypeScript
11 lines
229 B
TypeScript
let mockTimeZone: null | string = null;
|
|
|
|
export const setTimezone = (timeZone: string) => {
|
|
mockTimeZone = timeZone;
|
|
};
|
|
|
|
export const getTimezone = () => {
|
|
console.log('mockTimeZone', mockTimeZone);
|
|
return mockTimeZone;
|
|
};
|