fix relaunch logic in app.ts
This commit is contained in:
@@ -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 是将要会渲染的页面
|
||||
|
||||
Reference in New Issue
Block a user