diff --git a/docs/src/doc.config.js b/docs/src/doc.config.js index fae31d7ca..dd6ba08c6 100644 --- a/docs/src/doc.config.js +++ b/docs/src/doc.config.js @@ -216,7 +216,7 @@ module.exports = { list: [ { path: '/actionsheet', - title: 'Actionsheet - 行动按钮' + title: 'Actionsheet - 上拉菜单' }, { path: '/datetime-picker', diff --git a/packages/actionsheet/demo/index.vue b/packages/actionsheet/demo/index.vue index aacc1eee8..d77dd76d6 100644 --- a/packages/actionsheet/demo/index.vue +++ b/packages/actionsheet/demo/index.vue @@ -28,7 +28,8 @@ export default { button3: '弹出带标题的 Actionsheet', title2: '带取消按钮的 Actionsheet', title3: '带标题的 Actionsheet', - description: '描述信息' + description: '描述信息', + disabledOption: '禁用选项' }, 'en-US': { button1: 'Show Actionsheet', @@ -36,7 +37,8 @@ export default { button3: 'Show Actionsheet with title', title2: 'Actionsheet with cancel button', title3: 'Actionsheet with title', - description: 'Description' + description: 'Description', + disabledOption: 'Disabled Option' } }, @@ -53,7 +55,8 @@ export default { return [ { name: this.$t('option'), callback: this.onClick }, { name: this.$t('option'), subname: this.$t('description') }, - { name: this.$t('option'), loading: true } + { name: this.$t('option'), loading: true }, + { name: this.$t('disabledOption'), disabled: true } ]; } }, diff --git a/packages/actionsheet/en-US.md b/packages/actionsheet/en-US.md index 710dd2b3b..2b09cbcb5 100644 --- a/packages/actionsheet/en-US.md +++ b/packages/actionsheet/en-US.md @@ -33,6 +33,10 @@ export default { { name: 'Option', loading: true + }, + { + name: 'Disabled Option', + disabled: true } ] }; @@ -86,4 +90,5 @@ Actionsheet will get another style if there is a `title` prop. | subname | Subtitle | | className | className for the option | | loading | Whether to be loading status | +| disabled | Whether to be disabled | | callback | Triggered when click option | diff --git a/packages/actionsheet/index.vue b/packages/actionsheet/index.vue index 144986442..f1fea5c15 100644 --- a/packages/actionsheet/index.vue +++ b/packages/actionsheet/index.vue @@ -8,7 +8,7 @@