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

@@ -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}`);
}
});