From 469f3d09be0ae92724e0877fb85a9c7d1fe14a6c Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 18 Oct 2022 10:21:06 +0800 Subject: [PATCH] feat: update 1.8.2 --- yudao-ui-admin-vue3/package.json | 5 +++-- .../src/layout/components/ToolHeader.vue | 10 +++++----- .../src/layout/components/useRenderLayout.tsx | 6 +++--- yudao-ui-admin-vue3/windi.config.ts | 4 ++-- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/yudao-ui-admin-vue3/package.json b/yudao-ui-admin-vue3/package.json index ab056d30b..aab38555a 100644 --- a/yudao-ui-admin-vue3/package.json +++ b/yudao-ui-admin-vue3/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi-vue-pro-vue3", - "version": "1.6.4.1811", + "version": "1.6.4.1821", "description": "基于vue3、element-plus、typesScript、vite3", "author": "xingyu", "private": false, @@ -22,7 +22,8 @@ "lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:lint-staged": "lint-staged -c ", "lint:pretty": "pretty-quick --staged", - "p": "plop" + "p": "plop", + "analysis": "windicss-analysis" }, "dependencies": { "@iconify/iconify": "^3.0.0", diff --git a/yudao-ui-admin-vue3/src/layout/components/ToolHeader.vue b/yudao-ui-admin-vue3/src/layout/components/ToolHeader.vue index 091a25a32..2c6d86c13 100644 --- a/yudao-ui-admin-vue3/src/layout/components/ToolHeader.vue +++ b/yudao-ui-admin-vue3/src/layout/components/ToolHeader.vue @@ -48,25 +48,25 @@ export default defineComponent({ {layout.value !== 'top' ? (
{hamburger.value && layout.value !== 'cutMenu' ? ( - + ) : undefined} {breadcrumb.value ? : undefined}
) : undefined}
{screenfull.value ? ( - + ) : undefined} {size.value ? ( - + ) : undefined} {locale.value ? ( ) : undefined} - +
) diff --git a/yudao-ui-admin-vue3/src/layout/components/useRenderLayout.tsx b/yudao-ui-admin-vue3/src/layout/components/useRenderLayout.tsx index 40134a667..d388d5f5b 100644 --- a/yudao-ui-admin-vue3/src/layout/components/useRenderLayout.tsx +++ b/yudao-ui-admin-vue3/src/layout/components/useRenderLayout.tsx @@ -110,7 +110,7 @@ export const useRenderLayout = () => { return ( <>
- {logo.value ? : undefined} + {logo.value ? : undefined}
@@ -167,7 +167,7 @@ export const useRenderLayout = () => { return ( <>
- {logo.value ? : undefined} + {logo.value ? : undefined}
@@ -204,7 +204,7 @@ export const useRenderLayout = () => { return ( <>
- {logo.value ? : undefined} + {logo.value ? : undefined}
diff --git a/yudao-ui-admin-vue3/windi.config.ts b/yudao-ui-admin-vue3/windi.config.ts index d8712bb31..cf32f9752 100644 --- a/yudao-ui-admin-vue3/windi.config.ts +++ b/yudao-ui-admin-vue3/windi.config.ts @@ -38,7 +38,7 @@ export default defineConfig({ } }) addComponents({ - '.hover-tigger': { + '.hover-trigger': { display: 'flex', height: '100%', padding: '1px 10px 0', @@ -49,7 +49,7 @@ export default defineConfig({ backgroundColor: 'var(--top-header-hover-color)' } }, - '.dark .hover-tigger': { + '.dark .hover-trigger': { '&:hover': { backgroundColor: 'var(--el-bg-color-overlay)' }