Files
EVA-Notify/src/app.ts
T
2024-03-29 22:09:53 +08:00

17 lines
404 B
TypeScript

import { PropsWithChildren } from 'react';
import { useLaunch } from '@tarojs/taro';
import 'taro-ui/dist/style/index.scss';
import './app.scss';
import { pingAte } from './service/pingAte';
function App({ children }: PropsWithChildren<any>) {
useLaunch(() => {
console.log('App launched.');
pingAte();
});
// children 是将要会渲染的页面
return children;
}
export default App;