document(tree): 树文档

This commit is contained in:
就眠仪式 2021-10-14 17:41:45 +08:00
parent 377171ab94
commit 5584b9886a
2 changed files with 17 additions and 5 deletions

View File

@ -209,3 +209,20 @@ function handleClick(node) {
</script> </script>
::: :::
::: field tree attributes
:::
| Name | Description | Accepted Values |
| -------- | ---- | ----------------------- |
| name | 原始属性 name | -- |
::: field tree events
:::
| Name | Description | Accepted Params |
| -------- | ---- | ----------------------- |
| name | 原始属性 name | -- |

View File

@ -5,11 +5,6 @@
class="layui-form layui-border-box layui-table-view layui-table-view-1" class="layui-form layui-border-box layui-table-view layui-table-view-1"
> >
<div v-if="defaultToolbar || slot.toolbar" class="layui-table-tool"> <div v-if="defaultToolbar || slot.toolbar" class="layui-table-tool">
<div class="layui-table-tool-temp">
<div class="layui-btn-container">
<slot name="toolbar" />
</div>
</div>
<div v-if="defaultToolbar" class="layui-table-tool-self"> <div v-if="defaultToolbar" class="layui-table-tool-self">
<div class="layui-inline" title="筛选列" lay-event="LAYTABLE_COLS"> <div class="layui-inline" title="筛选列" lay-event="LAYTABLE_COLS">
<i class="layui-icon layui-icon-cols" /> <i class="layui-icon layui-icon-cols" />