列表联调

This commit is contained in:
李瑞
2025-09-07 18:54:36 +08:00
parent 2d0d728969
commit 6feb7057af
28 changed files with 1225 additions and 740 deletions

View File

@@ -6,9 +6,6 @@ import { useDictionaryStore } from './store/dictionaryStore'
import { useGlobalStore } from './store/global'
import { check_login_status } from './services/loginService';
// import { getNavbarHeight } from "@/utils/getNavbarHeight";
interface AppProps {
children: ReactNode
}
@@ -31,6 +28,7 @@ class App extends Component<AppProps> {
// 初始化字典数据
this.initDictionaryData()
this.getNavBarHeight()
this.getLocation()
}
componentDidShow() { }
@@ -51,7 +49,12 @@ class App extends Component<AppProps> {
getNavBarHeight = () => {
const { getNavbarHeightInfo } = useGlobalStore.getState()
getNavbarHeightInfo()
}
// 获取位置信息
getLocation = () => {
const { getCurrentLocationInfo } = useGlobalStore.getState()
getCurrentLocationInfo()
}
render() {