ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
> ## 组件 wl-select-custom 使用文档 ``` <wl-select-custom v-model="setting" :width="width" :url="url" :default="default"></wl-select-custom> ``` ### wl-select-custom props | 属性 | 说明 | 类型 | 默认值 | | ---------- | ------------------------------------------------------------------- | -------- | --------------------------------------------- | | setting | 对 setting 进行双向绑定 | Object | {} | | setting.default | 下拉框默认值 | String | '' | | setting.value | 自定义的下拉框的 value 项 | String | 'value' | | setting.label | 自定义的下拉框的 label 项 | String | 'label' | | url | 请求下拉框数据的 url | String | '' | | width | 下拉框宽度 | String | '200px' | #### 备注说明 - 组件下拉框内容请求 url 的接口后获得,需要提供 label 和 value 作为参数。提供的 default 需要符合预期。