1. import Taro, { Component } from '@tarojs/taro'
    2. import { View, Image, Button } from '@tarojs/components'
    3. import './tab.scss'
    4. class Tab extends Component {
    5. onNewTodo = () => {
    6. // dosth
    7. }
    8. componentWillMount () { }
    9. componentDidMount () { }
    10. componentWillUnmount () { }
    11. componentWillReceiveProps () { }
    12. render () {
    13. return (
    14. <View className='tab'>
    15. tab
    16. </View>
    17. )
    18. }
    19. }