perf: add eslint import rules, improve the coupling of some components

This commit is contained in:
vben
2024-07-07 22:14:40 +08:00
parent fbe0fc1738
commit e68e1b40ce
8 changed files with 130 additions and 80 deletions

View File

@@ -30,7 +30,10 @@ const tokenTheme = computed(() => {
</script>
<template>
<GlobalProvider>
<GlobalProvider
:enable-ai-assistant="preferences.app.aiAssistant"
:is-mobile="preferences.app.isMobile"
>
<ConfigProvider :locale="antdLocale" :theme="tokenTheme">
<App>
<RouterView />