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');
}
},
onClickRightIcon(event) {
event.stopPropagation();
this.$emit('edit');
},
renderRightIcon() {
return