# Function: showActionSheet
▸ showActionSheet(params: ShowActionSheetParams): Promise‹ShowActionSheetRes›
显示操作菜单
# 参数:
| 属性 | 类型 |
|---|---|
params | ShowActionSheetParams |
ShowActionSheetParams
| 属性 | 类型 | 描述 |
|---|---|---|
itemColor? | string | 按钮的文字颜色 |
itemList | string[] | 按钮的文字数组,数组长度最大为 6 |
complete? | Method | 接口调用结束的回调函数(调用成功、失败都会执行) |
fail? | Method | 接口调用失败的回调函数 |
success? | Method | 接口调用成功的回调函数 |
# 返回值:
Promise‹ShowActionSheetRes›