import { use } from '../utils'; import Icon from '../icon'; import Cell from '../cell'; import Button from '../button'; import Radio from '../radio'; import RadioGroup from '../radio-group'; const [sfc, bem, t] = use('contact-list'); export default sfc({ props: { value: null, list: Array, addText: String }, render(h) { return (
{ this.$emit('input', event); }} > {this.list.map((item, index) => ( { this.$emit('select', item, index); }} >
{`${item.name},${item.tel}`}
{ this.$emit('edit', item, index); }} />
))}
); } });