format with prettier

This commit is contained in:
2024-03-04 00:00:33 +08:00
parent d15067f2fe
commit 0713644961
10 changed files with 65 additions and 68 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
export default definePageConfig({
navigationBarTitleText: '首页',
usingComponents: {}
})
usingComponents: {},
});
+10 -8
View File
@@ -1,23 +1,25 @@
import { View, Text } from '@tarojs/components'
import './index.scss'
import { Component, ReactNode } from 'react'
import { View, Text } from '@tarojs/components';
import { Component, ReactNode } from 'react';
import { AtButton } from 'taro-ui';
import './index.scss';
class Index extends Component {
state = {
msg: "Hello World!"
}
msg: 'Hello World!',
};
onReady() {
console.log("Index is ready");
console.log('Index is ready');
}
render(): ReactNode {
return (
<View>
<AtButton type='primary' size='normal'></AtButton>
<Text>{this.state.msg}</Text>
</View>
)
);
}
}
export default Index
export default Index;