[暂存] 重构 switch 逻辑
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
::: title 开发规范
|
||||
:::
|
||||
:::
|
||||
@@ -86,6 +86,12 @@ export default {
|
||||
subTitle: 'change log',
|
||||
path: '/zh-CN/guide/changelog',
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: '规范',
|
||||
subTitle: 'norms',
|
||||
path: '/zh-CN/guide/norms'
|
||||
}
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user