You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
521 B
25 lines
521 B
12 months ago
|
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: '工会会员绑定',
|
||
|
};
|