@alicloud/alfa-react 1.5.12 → 1.5.13-alpha.0

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.
@@ -123,7 +123,7 @@ export default function createApplication(loader) {
123
123
  // 受控模式锁定一些参数
124
124
  if ($syncHistory.current) {
125
125
  // 禁止子应用和 consoleBase 通信
126
- customProps.consoleBase = null;
126
+ if (!customProps.appConfig) customProps.consoleBase = null;
127
127
  // 覆写 path 参数,用于通知子应用更新路由
128
128
  customProps.path = addLeftSlash(stripBasename(peelPath(window.location), $basename.current));
129
129
  // 禁止注入 history
package/es/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '1.5.12';
1
+ export var version = '1.5.13-alpha.0';
@@ -133,7 +133,7 @@ function createApplication(loader) {
133
133
  // 受控模式锁定一些参数
134
134
  if ($syncHistory.current) {
135
135
  // 禁止子应用和 consoleBase 通信
136
- customProps.consoleBase = null;
136
+ if (!customProps.appConfig) customProps.consoleBase = null;
137
137
  // 覆写 path 参数,用于通知子应用更新路由
138
138
  customProps.path = addLeftSlash(stripBasename(peelPath(window.location), $basename.current));
139
139
  // 禁止注入 history
package/lib/version.js CHANGED
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- var version = '1.5.12';
7
+ var version = '1.5.13-alpha.0';
8
8
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/alfa-react",
3
- "version": "1.5.12",
3
+ "version": "1.5.13-alpha.0",
4
4
  "description": "Alfa Framework (React Version)",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -37,7 +37,7 @@
37
37
  "crypto-js": "^4.1.1",
38
38
  "prop-types": "^15.8.1",
39
39
  "@alicloud/alfa-core": "^1.4.33",
40
- "@alicloud/console-os-loader": "^1.4.33"
40
+ "@alicloud/console-os-loader": "^1.4.34"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.0.0"
@@ -5,6 +5,7 @@ interface IProps<C = any> extends AlfaFactoryOption {
5
5
  customProps: C & {
6
6
  consoleBase?: any;
7
7
  path?: string;
8
+ appConfig?: any;
8
9
  __injectHistory?: any;
9
10
  __innerStamp?: string;
10
11
  __historyState?: string;
@@ -1 +1 @@
1
- export declare const version = "1.5.12";
1
+ export declare const version = "1.5.13-alpha.0";