feat: change to center and clean code

This commit is contained in:
2025-02-16 02:09:14 +08:00
parent 73de223d56
commit 1363b87f36
97 changed files with 882 additions and 6775 deletions

View File

@@ -1,7 +1,6 @@
import { query } from '@/modules';
import { message } from 'antd';
import { create } from 'zustand';
import { history } from '@/utils/history';
// 如果自己是在iframe中登录需要调用这个方法
export const postLoginInIframe = (token: string) => {
console.log('window.parent !== window', window.parent !== window);
@@ -85,7 +84,6 @@ export const useLoginStore = create<LoginStore>((set, get) => {
if (res.code === 200) {
message.success('Success');
// 跳到某一个页面
// history.push('/map', {}, true);
} else {
message.error(res.message || 'Request failed');
}