@alicloud/alfa-react 1.6.2-alpha.1 → 1.6.2-alpha.2

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.
@@ -58,6 +58,8 @@ function createAlfaWidget(option) {
58
58
  var preLoader;
59
59
  if (priority === 'high') {
60
60
  var p = loader.register(_objectSpread(_objectSpread({}, option), {}, {
61
+ // 必须设置 container,否则沙箱会创建插入一个新的 body
62
+ container: document.body,
61
63
  dynamicConfig: typeof dynamicConfig === 'boolean' ? dynamicConfig : !manifest
62
64
  }));
63
65
  preLoader = /*#__PURE__*/function () {
package/es/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '1.6.2-alpha.1';
1
+ export var version = '1.6.2-alpha.2';
@@ -69,6 +69,8 @@ function createAlfaWidget(option) {
69
69
  var preLoader;
70
70
  if (priority === 'high') {
71
71
  var p = loader.register(_objectSpread(_objectSpread({}, option), {}, {
72
+ // 必须设置 container,否则沙箱会创建插入一个新的 body
73
+ container: document.body,
72
74
  dynamicConfig: typeof dynamicConfig === 'boolean' ? dynamicConfig : !manifest
73
75
  }));
74
76
  preLoader = /*#__PURE__*/function () {
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.6.2-alpha.1';
7
+ var version = '1.6.2-alpha.2';
8
8
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/alfa-react",
3
- "version": "1.6.2-alpha.1",
3
+ "version": "1.6.2-alpha.2",
4
4
  "description": "Alfa Framework (React Version)",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -1 +1 @@
1
- export declare const version = "1.6.2-alpha.1";
1
+ export declare const version = "1.6.2-alpha.2";