diff --git a/scripts/vite/color.ts b/scripts/vite/color.ts index 38386e4..64f3746 100644 --- a/scripts/vite/color.ts +++ b/scripts/vite/color.ts @@ -4,7 +4,7 @@ const arcoLevels = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; export const arcoToUnoColor = (arcoColorName: string): { [id: string]: string } => { const colors = {}; for (let i = 0; i < 10; i++) { - colors[unoLevels[i]] = `rgb(var(--${arcoColorName}-${arcoLevels[i]}))`; + colors[unoLevels[i]] = `rgba(var(--${arcoColorName}-${arcoLevels[i]}), 1)`; } return colors; }; diff --git a/src/App.vue b/src/App.vue index 528e832..05aecd5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,6 @@ const menuStore = useMenuStore(); const hasAuth = computed(() => { return route.matched.every(item => { - console.log('i', item); const needAuth = item.meta.auth; const userAuth = userStore.auth; if (needAuth?.includes('*')) { diff --git a/src/components/AnBreadcrumb/bread-page.vue b/src/components/AnBreadcrumb/bread-page.vue index 8192f56..dd06f38 100644 --- a/src/components/AnBreadcrumb/bread-page.vue +++ b/src/components/AnBreadcrumb/bread-page.vue @@ -7,7 +7,7 @@ 需要帮助? diff --git a/src/pages/_layout/index.vue b/src/pages/_layout/index.vue index 1cdae07..fbe795e 100644 --- a/src/pages/_layout/index.vue +++ b/src/pages/_layout/index.vue @@ -57,10 +57,14 @@ diff --git a/src/pages/system/user/index.vue b/src/pages/system/user/index.vue index 473e990..f47762d 100644 --- a/src/pages/system/user/index.vue +++ b/src/pages/system/user/index.vue @@ -32,7 +32,7 @@ const { component: PasswordModal, open } = useFormModal({ const usernameRender: TableColumnRender = ({ record }) => (
- + {record.avatar?.startsWith('/') ? : record.nickname?.[0]}