import { View, Button } from '@tarojs/components';

import { test } from '@/services/labor-union';


export const LaborUnion: Taro.FC = () => {

    const bindMemberHandle = async () => {

        const res = await test(
            { xm: '张三', xb: '男', yw_id: 1 }
        );
        console.log(res);
    };
    return (
        <View >
            <Button size='mini' onClick={bindMemberHandle}>按钮</Button>
        </View>
    );
};

LaborUnion.config = {
    navigationBarTitleText: '工会会员绑定',
};
