Blame view

node_modules/uview-ui/components/u-dropdown-item/props.js 899 Bytes
c7add6cf   “wangming”   初始版本开发完毕
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  export default {

      props: {

          // 当前选中项的value值

          value: {

              type: [Number, String, Array],

              default: ''

          },

          // 菜单项标题

          title: {

              type: [String, Number],

              default: ''

          },

          // 选项数据,如果传入了默认slot,此参数无效

          options: {

              type: Array,

              default() {

                  return []

              }

          },

          // 是否禁用此菜单项

          disabled: {

              type: Boolean,

              default: false

          },

          // 下拉弹窗的高度

          height: {

              type: [Number, String],

              default: 'auto'

          },

          // 点击遮罩是否可以收起弹窗

          closeOnClickOverlay: {

              type: Boolean,

              default: true

          }

      }

  }