Component({ options: { addGlobalClass: true, multipleSlots: true, }, properties: { address: { type: Object, value: {}, }, customIcon: { type: String, value: 'edit-1', }, extraSpace: { type: Boolean, value: true, }, isDrawLine: { type: Boolean, value: true, }, isManage: { type: Boolean, value: true, }, isEdit: { type: Boolean, value: true, }, }, externalClasses: [ 'item-wrapper-class', 'title-class', 'default-tag-class', 'normal-tag-class', 'address-info-class', 'delete-class', ], methods: { onDelete(e: WechatMiniprogram.CustomEvent<{}, {}, { item: any }>) { const { item } = e.currentTarget.dataset this.triggerEvent('onDelete', item) }, onSelect(e: WechatMiniprogram.CustomEvent<{}, {}, { item: any }>) { const { item } = e.currentTarget.dataset this.triggerEvent('onSelect', item) }, onEdit(e: WechatMiniprogram.CustomEvent<{}, {}, { item: any }>) { const { item } = e.currentTarget.dataset this.triggerEvent('onEdit', item) }, }, })