mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-24 13:05:02 +00:00
wip: support vite
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
import { initAppConfigStore } from '/@/setup/App';
|
||||
|
||||
import { useLockPage } from '/@/hooks/web/useLockPage';
|
||||
import { useLocale } from '/@/hooks/web/useLocale';
|
||||
import { useLocale } from '/@/locales/useLocale';
|
||||
|
||||
import { AppProvider } from '/@/components/Application';
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
name: 'App',
|
||||
components: { ConfigProvider, AppProvider },
|
||||
setup() {
|
||||
const { antConfigLocale, setLocale } = useLocale();
|
||||
setLocale();
|
||||
|
||||
// Initialize vuex internal system configuration
|
||||
initAppConfigStore();
|
||||
|
||||
@@ -28,7 +31,6 @@
|
||||
const lockEvent = useLockPage();
|
||||
|
||||
// support Multi-language
|
||||
const { antConfigLocale } = useLocale();
|
||||
|
||||
return {
|
||||
antConfigLocale,
|
||||
|
Reference in New Issue
Block a user