import { use } from '../utils'; import Icon from '../icon'; import Cell from '../cell'; import Radio from '../radio'; const [sfc, bem] = use('address-item'); export default sfc({ props: { data: Object, disabled: Boolean, switchable: Boolean }, methods: { onSelect() { if (this.switchable) { this.$emit('select'); } } }, render(h) { const { data, disabled, switchable } = this; const Info = [