diff --git a/docs/examples-dist/actionsheet.vue b/docs/examples-dist/actionsheet.vue index 7a2418f86..80300646d 100644 --- a/docs/examples-dist/actionsheet.vue +++ b/docs/examples-dist/actionsheet.vue @@ -5,6 +5,8 @@ + +
弹出带取消按钮的actionsheet @@ -12,6 +14,8 @@ + +
弹出带标题的actionsheet @@ -53,7 +57,8 @@ export default { actions1: [ { name: '微信安全支付', - className: 'actionsheet-wx' + className: 'actionsheet-wx', + callback: this.handleActionClick }, { name: '支付宝支付', @@ -71,6 +76,12 @@ export default { } ] }; + }, + + methods: { + handleActionClick(item) { + console.log(item); + } } } \ No newline at end of file diff --git a/docs/examples-dist/swipe.vue b/docs/examples-dist/swipe.vue index 4ddd3719d..1b417dab6 100644 --- a/docs/examples-dist/swipe.vue +++ b/docs/examples-dist/swipe.vue @@ -9,7 +9,7 @@ - + diff --git a/docs/examples-dist/switch.vue b/docs/examples-dist/switch.vue index bec31fbe1..0047ad4e9 100644 --- a/docs/examples-dist/switch.vue +++ b/docs/examples-dist/switch.vue @@ -1,24 +1,35 @@