Merge branch 'develop' of https://gitee.com/layui-vue/layui-vue into develop
This commit is contained in:
commit
a51c2b086c
@ -1,7 +1,16 @@
|
|||||||
::: anchor
|
::: anchor
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: title 基本介绍
|
||||||
|
:::
|
||||||
|
|
||||||
|
::: describe 树形组件一般用于展示具有层级关系的数据
|
||||||
|
:::
|
||||||
|
|
||||||
|
::: title 基础使用
|
||||||
|
:::
|
||||||
|
|
||||||
|
::: demo 使用 `lay-tree` 标签, 创建树形组件
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-tree
|
<lay-tree
|
||||||
@ -238,12 +247,13 @@ function handleClick(node) {
|
|||||||
::: table
|
::: table
|
||||||
|
|
||||||
| Name | Description | Accepted Values |
|
| Name | Description | Accepted Values |
|
||||||
| -------- | -------------- | --------------- |
|
| -------- |-------------| --------------- |
|
||||||
| id | 唯一值 | - |
|
| id | 唯一值 | - |
|
||||||
| title | 节点名称 | - |
|
| title | 节点名称 | - |
|
||||||
| children | 子节点 | [] |
|
| children | 子节点 | [] |
|
||||||
| disabled | 该节点是否禁用 | false |
|
| disabled | 该节点是否禁用 | false |
|
||||||
| spread | 该节点是否展开 | false |
|
| spread | 该节点是否展开 | false |
|
||||||
|
| accordion | 是否开启展示收起动画 | false |
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
|
|
||||||
.layui-form-switch span {
|
.layui-form-switch span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
top: 3px;
|
top: 3px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user