mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-17 01:22:01 +08:00
feat: increase support for multiple time zones
* 优化实现方法
This commit is contained in:
@@ -15,6 +15,7 @@ import { router } from '#/router';
|
||||
import { initComponentAdapter } from './adapter/component';
|
||||
import { initSetupVbenForm } from './adapter/form';
|
||||
import App from './app.vue';
|
||||
import { initTimezone } from './timezone-init';
|
||||
|
||||
async function bootstrap(namespace: string) {
|
||||
// 初始化组件适配器
|
||||
@@ -46,6 +47,9 @@ async function bootstrap(namespace: string) {
|
||||
// 配置 pinia-tore
|
||||
await initStores(app, { namespace });
|
||||
|
||||
// 初始化时区HANDLER
|
||||
initTimezone();
|
||||
|
||||
// 安装权限指令
|
||||
registerAccessDirective(app);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user