commit
9b77849f35
@ -0,0 +1,24 @@
|
||||
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: '工会会员绑定',
|
||||
};
|
Loading…
Reference in new issue