12345678910111213141516171819202122232425262728293031323334 |
- Component({
- props: {
- onBtnClick: () => null,
- memberPopUpShow: false,
- onPopClose: () => null,
- memberItem: null
- },
- data: {},
- didMount() {},
- methods: {
- handleBtnClick(e) {
- const {
- dataset: {
- type = ''
- }
- } = e.target;
- const {
- memberItem
- } = this.props;
- this.props.onBtnClick && this.props.onBtnClick({
- type,
- memberItem
- });
- this.props.onPopClose();
- },
- onPopClose() {
- this.props.onPopClose();
- }
- }
- });
|