Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Expand Down
7 changes: 2 additions & 5 deletions src/picker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,12 @@ isComponent: true

{{ area }}

### 组件状态
### 组件样式

是否带标题

{{ with-title }}

### 不使用 Popup

{{ without-popup }}

## API

### Picker Props
Expand Down Expand Up @@ -95,6 +91,7 @@ options | Array | [] | 数据源。TS 类型:`PickerItemOption[]` `interface P
### CSS Variables

组件提供了下列 CSS 变量,可用于自定义样式。

名称 | 默认值 | 描述
-- | -- | --
--td-picker-group-height | 400rpx | -
Expand Down
3 changes: 0 additions & 3 deletions src/picker/_example/picker.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
<t-demo title="02 组件样式" desc="是否带标题">
<with-title />
</t-demo>
<t-demo desc="不使用 Popup">
<without-popup />
</t-demo>
</view>