|
@@ -18,6 +18,7 @@ import { registerGlobComp } from '/@/components/registerGlobComp';
|
|
|
import { registerThirdComp } from '/@/settings/registerThirdComp';
|
|
import { registerThirdComp } from '/@/settings/registerThirdComp';
|
|
|
import { useSso } from '/@/hooks/web/useSso';
|
|
import { useSso } from '/@/hooks/web/useSso';
|
|
|
import { useAppStoreWithOut } from '@/store/modules/app';
|
|
import { useAppStoreWithOut } from '@/store/modules/app';
|
|
|
|
|
+import { useMineStore } from './store/modules/mine';
|
|
|
|
|
|
|
|
// 程序入口
|
|
// 程序入口
|
|
|
async function main() {
|
|
async function main() {
|
|
@@ -116,4 +117,7 @@ function setupProps(props?: MainAppProps) {
|
|
|
}
|
|
}
|
|
|
const appStore = useAppStoreWithOut();
|
|
const appStore = useAppStoreWithOut();
|
|
|
appStore.setMainAppProps(props);
|
|
appStore.setMainAppProps(props);
|
|
|
|
|
+
|
|
|
|
|
+ const mineStore = useMineStore();
|
|
|
|
|
+ mineStore.fetchMineTree();
|
|
|
}
|
|
}
|