[新增] tab 组件 type 属性

This commit is contained in:
就眠仪式
2021-10-08 17:32:05 +08:00
parent eab7040d0a
commit 2e2b4381f0
2 changed files with 48 additions and 2 deletions

View File

@@ -1,7 +1,47 @@
::: demo
<template>
<lay-tab><div style="padding: 30px;">面板</div></lay-tab>
<lay-tab></lay-tab>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo
<template>
<lay-tab type="brief"></lay-tab>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo
<template>
<lay-tab type="card"></lay-tab>
</template>
<script>