增加日历

This commit is contained in:
李瑞
2025-09-08 23:23:19 +08:00
parent 4d79c79a97
commit 8a1a2af1e9
5 changed files with 19 additions and 62 deletions

View File

@@ -51,11 +51,12 @@ export const useGlobalStore = create<GlobalStore>()((set, get) => ({
// 获取位置信息
getCurrentLocationInfo: () => {
getCurrentLocation().then((res) => {
return getCurrentLocation().then((res) => {
set({
getLocationLoading: false,
location: res || {},
});
return res;
});
},