Skip to content

Commit 50be943

Browse files
committed
update: 添加 action-sheet title 示例
1 parent f3afac6 commit 50be943

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎pages/API/action-sheet/action-sheet.vue‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
},
1818
methods: {
1919
actionSheetTap() {
20-
uni.showActionSheet({
21-
itemList: ['item1', 'item2', 'item3', 'item4'],
20+
uni.showActionSheet({
21+
title:'标题',
22+
itemList: ['item1', 'item2', 'item3', 'item4','item5', 'item6','item7'],
2223
success: (e) => {
2324
console.log(e.tapIndex);
2425
uni.showToast({

0 commit comments

Comments
 (0)