fix relaunch logic in app.ts

This commit is contained in:
Dawn1Ocean
2024-03-20 23:20:39 +08:00
parent 574d3692cd
commit 5b08555359
5 changed files with 12 additions and 8 deletions
-2
View File
@@ -2,7 +2,6 @@ import { PropsWithChildren } from 'react';
import { useLaunch } from '@tarojs/taro';
import 'taro-ui/dist/style/index.scss';
import './app.scss';
import { getLocaleData } from './service/localeData';
import { checkLogin, checkToken } from './service/checkLogin';
import wechatUser from './wechat';
import { loginAte } from './service/login';
@@ -25,7 +24,6 @@ function App({ children }: PropsWithChildren<any>) {
loginAte();
}
});
getLocaleData();
});
// children 是将要会渲染的页面