[暂存] 重构 switch 逻辑

This commit is contained in:
就眠儀式
2021-11-18 11:21:57 +08:00
parent 0886ee3a1f
commit b0a3bd0ac9
6 changed files with 139 additions and 100 deletions

View File

@@ -3,6 +3,29 @@
::: demo
<template>
<lay-switch></lay-switch>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: title 基础使用
:::
::: demo
<template>
<lay-switch v-model="active1"></lay-switch>
</template>

View File

@@ -1,2 +1,2 @@
::: title 开发规范
:::
:::

View File

@@ -86,6 +86,12 @@ export default {
subTitle: 'change log',
path: '/zh-CN/guide/changelog',
},
{
id: 4,
title: '规范',
subTitle: 'norms',
path: '/zh-CN/guide/norms'
}
],
},
]