第一次提交

This commit is contained in:
2026-04-03 09:56:14 +08:00
commit 60e2c8debd
3598 changed files with 746659 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import {qiankunWindow} from 'vite-plugin-qiankun/dist/helper'
/**
* 【JEECG作为乾坤子应用】【判断当前是否是以乾坤子应用的模式运行】
*/
export function checkIsQiankunMicro(): boolean {
return !!qiankunWindow.__POWERED_BY_QIANKUN__;
}
export function getGlobal() {
return (checkIsQiankunMicro() ? qiankunWindow : window) as Window
}