diff --git a/docs/docs/zh-CN/components/switch.md b/docs/docs/zh-CN/components/switch.md index e90d9122..3ee8a871 100644 --- a/docs/docs/zh-CN/components/switch.md +++ b/docs/docs/zh-CN/components/switch.md @@ -3,29 +3,6 @@ ::: demo - - - - -::: - -::: title 基础使用 -::: - -::: demo - @@ -36,7 +13,7 @@ import { ref } from 'vue' export default { setup() { - const active1 = ref(true); + const active1 = ref(false); return { active1 diff --git a/docs/docs/zh-CN/guide/changelog.md b/docs/docs/zh-CN/guide/changelog.md index 88d00a73..32548fc3 100644 --- a/docs/docs/zh-CN/guide/changelog.md +++ b/docs/docs/zh-CN/guide/changelog.md @@ -2,7 +2,7 @@ ::: - + diff --git a/docs/src/assets/css/markdown.css b/docs/src/assets/css/markdown.css index 21d6ee25..72e2403f 100644 --- a/docs/src/assets/css/markdown.css +++ b/docs/src/assets/css/markdown.css @@ -52,15 +52,6 @@ h1 { } } -h3 { - margin-top: 1.5rem; -} - -h3 { - margin-top: 2rem; - font-size: 1.35rem; -} - h4 { font-size: 1.15rem; } diff --git a/src/module/resource/icons.ts b/src/font/iconfont.ts similarity index 100% rename from src/module/resource/icons.ts rename to src/font/iconfont.ts diff --git a/src/module/iconPicker/index.vue b/src/module/iconPicker/index.vue index c7f7aebb..e9e805a5 100644 --- a/src/module/iconPicker/index.vue +++ b/src/module/iconPicker/index.vue @@ -82,8 +82,8 @@ diff --git a/src/module/switch/index.ts b/src/module/switch/index.ts index c9dd3752..3261036c 100644 --- a/src/module/switch/index.ts +++ b/src/module/switch/index.ts @@ -6,4 +6,4 @@ Component.install = (app: App) => { app.component(Component.name || 'LaySwitch', Component) } -export default Component as IDefineComponent +export default Component as IDefineComponent \ No newline at end of file diff --git a/src/module/switch/index.vue b/src/module/switch/index.vue index 00faa687..1b8d966e 100644 --- a/src/module/switch/index.vue +++ b/src/module/switch/index.vue @@ -5,7 +5,7 @@ export default { + + +