mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
docs(tree-select): add doc for height (#3460)
This commit is contained in:
parent
87c6ef6d9e
commit
53e4f3bf89
@ -6,6 +6,7 @@
|
|||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"es6": true,
|
"es6": true,
|
||||||
|
"enhance": false,
|
||||||
"postcss": true,
|
"postcss": true,
|
||||||
"preloadBackgroundData": false,
|
"preloadBackgroundData": false,
|
||||||
"minified": true,
|
"minified": true,
|
||||||
@ -15,20 +16,19 @@
|
|||||||
"autoAudits": false,
|
"autoAudits": false,
|
||||||
"showShadowRootInWxmlPanel": true,
|
"showShadowRootInWxmlPanel": true,
|
||||||
"scopeDataCheck": false,
|
"scopeDataCheck": false,
|
||||||
|
"uglifyFileName": false,
|
||||||
"checkInvalidKey": true,
|
"checkInvalidKey": true,
|
||||||
"checkSiteMap": true,
|
"checkSiteMap": true,
|
||||||
"uploadWithSourceMap": true,
|
"uploadWithSourceMap": true,
|
||||||
|
"compileHotReLoad": false,
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"useCompilerModule": false,
|
"useIsolateContext": true,
|
||||||
"userConfirmedUseCompilerModuleSwitch": false,
|
"useCompilerModule": true,
|
||||||
"enhance": false,
|
"userConfirmedUseCompilerModuleSwitch": false
|
||||||
"uglifyFileName": false,
|
|
||||||
"compileHotReLoad": false,
|
|
||||||
"useIsolateContext": true
|
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"cloudfunctionRoot": "functions/",
|
"cloudfunctionRoot": "functions/",
|
||||||
|
@ -94,6 +94,7 @@ Page({
|
|||||||
```html
|
```html
|
||||||
<van-tree-select
|
<van-tree-select
|
||||||
items="{{ items }}"
|
items="{{ items }}"
|
||||||
|
height="55vw"
|
||||||
main-active-index="{{ mainActiveIndex }}"
|
main-active-index="{{ mainActiveIndex }}"
|
||||||
active-id="{{ activeId }}"
|
active-id="{{ activeId }}"
|
||||||
bind:click-nav="onClickNav"
|
bind:click-nav="onClickNav"
|
||||||
@ -110,6 +111,7 @@ Page({
|
|||||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||||
| --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- |
|
||||||
| items | 分类显示所需的数据 | _Array_ | `[]` | - |
|
| items | 分类显示所需的数据 | _Array_ | `[]` | - |
|
||||||
|
| height | 高度,默认单位为`px` | _number \| string_ | `300` |
|
||||||
| main-active-index | 左侧选中项的索引 | _number_ | `0` | - |
|
| main-active-index | 左侧选中项的索引 | _number_ | `0` | - |
|
||||||
| active-id | 右侧选中项的 id,支持传入数组 | _string \| number \| Array_ | `0` | - |
|
| active-id | 右侧选中项的 id,支持传入数组 | _string \| number \| Array_ | `0` | - |
|
||||||
| max | 右侧项最大选中个数 | _number_ | _Infinity_ | - |
|
| max | 右侧项最大选中个数 | _number_ | _Infinity_ | - |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user