diff --git a/docs/docs/zh-CN/components/menu.md b/docs/docs/zh-CN/components/menu.md index aeed02dd..3036deca 100644 --- a/docs/docs/zh-CN/components/menu.md +++ b/docs/docs/zh-CN/components/menu.md @@ -77,15 +77,15 @@ export default { ::: -| | | | -| ----------- | -------- | --- | +| | | | +| --------------------- | ------ | --- | | selectedKey (v-model) | 选中项 | -- | -| openKeys (v-model) | 打开项 | -- | +| openKeys (v-model) | 打开项 | -- | ::: field menu slots ::: -| | | | -| ----------- | -------- | --- | -| title | 菜单标题 | -- | \ No newline at end of file +| | | | +| ----- | -------- | --- | +| title | 菜单标题 | -- | diff --git a/docs/docs/zh-CN/guide/changelog.md b/docs/docs/zh-CN/guide/changelog.md index 608f8aca..31e41ae5 100644 --- a/docs/docs/zh-CN/guide/changelog.md +++ b/docs/docs/zh-CN/guide/changelog.md @@ -3,68 +3,68 @@ ::: demo -::: \ No newline at end of file +::: diff --git a/docs/src/layouts/Layout.vue b/docs/src/layouts/Layout.vue index f8874030..0144687d 100644 --- a/docs/src/layouts/Layout.vue +++ b/docs/src/layouts/Layout.vue @@ -80,9 +80,10 @@ export default { () => route.path, (val) => { currentPath.value = val - },{ + }, + { immediate: true, - deep: true + deep: true, } ) @@ -109,7 +110,7 @@ export default { id: 39, title: '沙盒', subTitle: 'sandbox', - path: '/zh-CN/guide/sandbox' + path: '/zh-CN/guide/sandbox', }, { id: 4, @@ -290,37 +291,43 @@ export default { title: '复选框', subTitle: 'checkbox', path: '/zh-CN/components/checkbox', - },{ + }, + { id: 33, title: '单选框', subTitle: 'radio', path: '/zh-CN/components/radio', - },{ + }, + { id: 34, title: '输入框', subTitle: 'input', path: '/zh-CN/components/input', - },{ + }, + { id: 35, title: '文本域', subTitle: 'textarea', path: '/zh-CN/components/textarea', - },{ + }, + { id: 36, title: '开关', subTitle: 'switch', path: '/zh-CN/components/switch', - },{ + }, + { id: 37, title: '滑块', subTitle: 'slider', path: '/zh-CN/components/slider', - },{ + }, + { id: 38, title: '轮播', subTitle: 'carousel', - path: '/zh-CN/components/carousel' - } + path: '/zh-CN/components/carousel', + }, ] const selected = ref(1) diff --git a/docs/src/router/zh-CN.ts b/docs/src/router/zh-CN.ts index 3e60e14e..fd0731df 100644 --- a/docs/src/router/zh-CN.ts +++ b/docs/src/router/zh-CN.ts @@ -179,35 +179,42 @@ const zhCN = [ path: '/zh-CN/components/transfer', component: () => import('../../docs/zh-CN/components/transfer.md'), meta: { title: '穿梭框' }, - },{ + }, + { path: '/zh-CN/components/checkbox', component: () => import('../../docs/zh-CN/components/checkbox.md'), meta: { title: '复选框' }, - },{ + }, + { path: '/zh-CN/components/radio', component: () => import('../../docs/zh-CN/components/radio.md'), meta: { title: '单选框' }, - },{ + }, + { path: '/zh-CN/components/input', component: () => import('../../docs/zh-CN/components/input.md'), meta: { title: '输入框' }, - },{ + }, + { path: '/zh-CN/components/textarea', component: () => import('../../docs/zh-CN/components/textarea.md'), meta: { title: '文本域' }, - },{ + }, + { path: '/zh-CN/components/switch', component: () => import('../../docs/zh-CN/components/switch.md'), meta: { title: '开关' }, - },{ + }, + { path: '/zh-CN/components/slider', component: () => import('../../docs/zh-CN/components/slider.md'), meta: { title: '滑块' }, - },{ + }, + { path: '/zh-CN/components/carousel', component: () => import('../../docs/zh-CN/components/carousel.md'), meta: { title: '轮播' }, - } + }, ], }, ] diff --git a/src/module/carouselItem/index.ts b/src/module/carouselItem/index.ts index 51404620..1acce590 100644 --- a/src/module/carouselItem/index.ts +++ b/src/module/carouselItem/index.ts @@ -6,4 +6,4 @@ Component.install = (app: App) => { app.component(Component.name || 'LayCarouselItem', Component) } -export default Component as IDefineComponent \ No newline at end of file +export default Component as IDefineComponent diff --git a/src/module/carouselItem/index.vue b/src/module/carouselItem/index.vue index f21b9d47..5ed054a5 100644 --- a/src/module/carouselItem/index.vue +++ b/src/module/carouselItem/index.vue @@ -6,10 +6,9 @@ \ No newline at end of file + diff --git a/src/module/tab/index.vue b/src/module/tab/index.vue index 50479429..de1c2169 100644 --- a/src/module/tab/index.vue +++ b/src/module/tab/index.vue @@ -9,9 +9,9 @@ > {{ ss.props.title }} @@ -42,7 +42,7 @@ const active = computed({ }, set(val) { emit('update:modelValue', val) - } + }, }) const change = function (id: any) {