sun-biz 0.0.1-beta.7 → 0.0.1-beta.8
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/dist/hooks/index.js
CHANGED
|
@@ -352,6 +352,9 @@ function useRequest_useRequest(service, options, plugins) {
|
|
|
352
352
|
/**
|
|
353
353
|
* 是否是云环境
|
|
354
354
|
*/ MAIN_APP_CONFIG["IS_CLOUD_ENV"] = "isCloudEnv";
|
|
355
|
+
/**
|
|
356
|
+
* 是否为 sass 模式
|
|
357
|
+
*/ MAIN_APP_CONFIG["IS_SASS_MODE"] = "isSassMode";
|
|
355
358
|
return MAIN_APP_CONFIG;
|
|
356
359
|
}({});
|
|
357
360
|
function useAppConfigData(name) {
|
|
@@ -18,7 +18,11 @@ export declare enum MAIN_APP_CONFIG {
|
|
|
18
18
|
/**
|
|
19
19
|
* 是否是云环境
|
|
20
20
|
*/
|
|
21
|
-
IS_CLOUD_ENV = "isCloudEnv"
|
|
21
|
+
IS_CLOUD_ENV = "isCloudEnv",
|
|
22
|
+
/**
|
|
23
|
+
* 是否为 sass 模式
|
|
24
|
+
*/
|
|
25
|
+
IS_SASS_MODE = "isSassMode"
|
|
22
26
|
}
|
|
23
27
|
declare function useAppConfigData<T extends keyof AppConfigType>(name: T): AppConfigType[T] | undefined;
|
|
24
28
|
declare function useAppConfigData<T extends keyof AppConfigType>(name: T[]): Partial<AppConfigType>;
|
package/dist/index.js
CHANGED
|
@@ -984,6 +984,9 @@ function useRequest_useRequest(service, options, plugins) {
|
|
|
984
984
|
/**
|
|
985
985
|
* 是否是云环境
|
|
986
986
|
*/ MAIN_APP_CONFIG["IS_CLOUD_ENV"] = "isCloudEnv";
|
|
987
|
+
/**
|
|
988
|
+
* 是否为 sass 模式
|
|
989
|
+
*/ MAIN_APP_CONFIG["IS_SASS_MODE"] = "isSassMode";
|
|
987
990
|
return MAIN_APP_CONFIG;
|
|
988
991
|
}({});
|
|
989
992
|
function useAppConfigData(name) {
|