12345678910 |
- import { Component, triggerEvent } from '../../_util/simply';
- import { FormCheckboxGroupDefaultProps } from './props';
- import { resolveEventValue } from '../../_util/platform';
- import { createForm } from '../form';
- Component(FormCheckboxGroupDefaultProps, {
- onChange: function (value, e) {
- this.emit('onChange', resolveEventValue(value));
- triggerEvent(this, 'change', resolveEventValue(value), e);
- },
- }, null, [createForm()]);
|