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/dialog.vue b/docs/examples-dist/dialog.vue index 54c15ce68..d71062379 100644 --- a/docs/examples-dist/dialog.vue +++ b/docs/examples-dist/dialog.vue @@ -1,7 +1,10 @@ -