更新文档

This commit is contained in:
就眠仪式 2021-10-03 14:49:04 +08:00
parent 69878c2c42
commit 40b18f7f6d
2 changed files with 25 additions and 1 deletions

View File

@ -128,6 +128,30 @@ export default {
:::
::: demo 传入 columns 数据,自动生成表格
<template>
<lay-button-container>
<lay-button type="primary"><lay-icon type="layui-icon-left"></lay-icon></lay-button>
<lay-button type="primary"><lay-icon type="layui-icon-right"></lay-icon></lay-button>
</lay-button-container>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo 传入 columns 数据,自动生成表格
<template>

View File

@ -12,7 +12,7 @@
</template>
<script setup name="LayCollapseItem" lang="ts">
import { defineProps, inject } from 'vue'
import { defineProps, inject, ref } from 'vue'
const props =
defineProps<{