chore: update uikit -> ui-kit

This commit is contained in:
vben
2024-06-23 20:03:41 +08:00
parent 89586ef2c4
commit d4f61c283f
351 changed files with 341 additions and 391 deletions

View File

@@ -12,7 +12,7 @@
- @vben-core/request@5.0.1
- @vben-core/stores@5.0.1
- @vben/layouts@5.0.1
- @vben/universal-ui@5.0.1
- @vben/widgets@5.0.1
- @vben/constants@5.0.1
- @vben/hooks@5.0.1
- @vben/icons@5.0.1

View File

@@ -35,10 +35,11 @@
"@vben/icons": "workspace:*",
"@vben/layouts": "workspace:*",
"@vben/locales": "workspace:*",
"@vben/universal-ui": "workspace:*",
"@vben/styles": "workspace:*",
"@vben/types": "workspace:*",
"@vben/universal-ui": "workspace:*",
"@vben/utils": "workspace:*",
"@vben/widgets": "workspace:*",
"@vueuse/core": "^10.11.0",
"ant-design-vue": "^4.2.3",
"dayjs": "^1.11.11",

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { computed } from 'vue';
import { GlobalProvider } from '@vben/universal-ui';
import { GlobalProvider } from '@vben/widgets';
import { preferences, usePreferences } from '@vben-core/preferences';
import { App, ConfigProvider, theme } from 'ant-design-vue';

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { NotificationItem } from '@vben/universal-ui';
import type { NotificationItem } from '@vben/widgets';
import { computed, ref } from 'vue';
import { useRouter } from 'vue-router';
@@ -7,8 +7,8 @@ import { useRouter } from 'vue-router';
import { IcRoundCreditScore, MdiDriveDocument, MdiGithub } from '@vben/icons';
import { BasicLayout } from '@vben/layouts';
import { $t } from '@vben/locales';
import { Notification, UserDropdown } from '@vben/universal-ui';
import { openWindow } from '@vben/utils';
import { Notification, UserDropdown } from '@vben/widgets';
import { preferences } from '@vben-core/preferences';
import { useAccessStore } from '@vben-core/stores';

View File

@@ -46,6 +46,7 @@ function setupCommonGuard(router: Router) {
// 动态修改标题
if (preferences.app.dynamicTitle) {
const { title } = to.meta;
// useTitle(`${$t(title)} - ${preferences.app.name}`);
useTitle(`${$t(title)} - ${preferences.app.name}`);
}
});