fix: add iifi for Page
This commit is contained in:
parent
9b3de5eba3
commit
7cb42edc5f
@ -1,10 +1,11 @@
|
|||||||
// 当前的功能,把所有的模块注入到windows对象当中
|
// 当前的功能,把所有的模块注入到windows对象当中
|
||||||
import { useConfigKey, useContextKey } from './web-env.ts';
|
import { useConfigKey, useContextKey } from './web-env.ts';
|
||||||
import { QueryRouterServer } from '@kevisual/router/browser';
|
import { QueryRouterServer } from '@kevisual/router/browser';
|
||||||
|
import { Page } from './page.ts';
|
||||||
// bind to window, 必须要的获取全局的环境变量
|
// bind to window, 必须要的获取全局的环境变量
|
||||||
window.useConfigKey = useConfigKey;
|
window.useConfigKey = useConfigKey;
|
||||||
window.useContextKey = useContextKey;
|
window.useContextKey = useContextKey;
|
||||||
|
window.Page = Page;
|
||||||
window.QueryRouterServer = QueryRouterServer;
|
window.QueryRouterServer = QueryRouterServer;
|
||||||
|
|
||||||
// bind to window, 获取路由对象
|
// bind to window, 获取路由对象
|
||||||
|
Loading…
x
Reference in New Issue
Block a user