@skyfox2000/microbase 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/utils/micro-app.ts +5 -1
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
package/src/utils/micro-app.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { HostInfo } from "@/stores/hostInfo";
|
|
|
2
2
|
import { SettingInfo } from "@/stores/settingInfo";
|
|
3
3
|
import { LoginInfo, UserInfo } from "@/stores/userInfo";
|
|
4
4
|
import { ApiResponse } from "@skyfox2000/fapi";
|
|
5
|
-
import { ref } from "vue";
|
|
5
|
+
import { Ref, ref } from "vue";
|
|
6
6
|
/**
|
|
7
7
|
* 是否微服务运行环境
|
|
8
8
|
* @returns
|
|
@@ -66,6 +66,10 @@ export interface MainOpenApis {
|
|
|
66
66
|
* @returns 授权码
|
|
67
67
|
*/
|
|
68
68
|
getToken: () => string;
|
|
69
|
+
/**
|
|
70
|
+
* 主机解析图标库并同步到子应用
|
|
71
|
+
*/
|
|
72
|
+
createIconLib: (monoColor:boolean, iconLib: Ref<Record<string, any>>) => void;
|
|
69
73
|
/**
|
|
70
74
|
* 获取当前用户信息
|
|
71
75
|
*/
|