format with prettier
This commit is contained in:
+8
-9
@@ -1,16 +1,15 @@
|
||||
import { PropsWithChildren } from 'react'
|
||||
import { useLaunch } from '@tarojs/taro'
|
||||
//import 'taro-ui/dist/style/index.scss'
|
||||
import './app.scss'
|
||||
import { PropsWithChildren } from 'react';
|
||||
import { useLaunch } from '@tarojs/taro';
|
||||
import 'taro-ui/dist/style/index.scss';
|
||||
import './app.scss';
|
||||
|
||||
function App({ children }: PropsWithChildren<any>) {
|
||||
|
||||
useLaunch(() => {
|
||||
console.log('App launched.')
|
||||
})
|
||||
console.log('App launched.');
|
||||
});
|
||||
|
||||
// children 是将要会渲染的页面
|
||||
return children
|
||||
return children;
|
||||
}
|
||||
|
||||
export default App
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user