@onecoffee/coffeelogmodal
v1.0.9
Published
公共日志弹框
Downloads
3
Keywords
Readme
使用方式
使用时传入一个logQueryList: title:tab名称(没有多个tab可不传) api:tab下对应接口 params:接口入参(无需传分页信息)
<CoffeeLogModal
ref="logModal"
:visible="logVisible"
:logQueryList="logQueryList"
@cancel="() => (this.logVisible = false)"
>
</CoffeeLogModal>
logQueryList = [
{ title: '基本信息', api: getSupplierRecords, params: { supplierCode: record.supplierCode } },
{ title: '签约信息', api: getSignRecords, params: { supplierCode: record.supplierCode } }
]