@next-core/brick-kit 2.178.7 → 2.178.9
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/index.bundle.js
CHANGED
|
@@ -6699,8 +6699,7 @@
|
|
|
6699
6699
|
content: contentNode,
|
|
6700
6700
|
className: "ant-message-notice-".concat(method)
|
|
6701
6701
|
};
|
|
6702
|
-
|
|
6703
|
-
antd.message[method](...processArg);
|
|
6702
|
+
antd.message[method](argProp, ...processArg.slice(1));
|
|
6704
6703
|
};
|
|
6705
6704
|
}
|
|
6706
6705
|
function builtinWebStorageListenerFactory(storageType, method, args, ifContainer, context, runtimeBrick) {
|
|
@@ -9018,7 +9017,7 @@
|
|
|
9018
9017
|
var previewPath = this._dev_only_getSnippetPreviewPath(snippetData.snippetId);
|
|
9019
9018
|
var previewRouteIndex = routes.findIndex(route => route.path === previewPath);
|
|
9020
9019
|
try {
|
|
9021
|
-
var _parsedSnippetData$br;
|
|
9020
|
+
var _parsedSnippetData$br, _parsedSnippetData$co;
|
|
9022
9021
|
var {
|
|
9023
9022
|
params: declareParams
|
|
9024
9023
|
} = snippetData,
|
|
@@ -9036,7 +9035,7 @@
|
|
|
9036
9035
|
menu: false,
|
|
9037
9036
|
exact: true,
|
|
9038
9037
|
hybrid: app.legacy === "iframe",
|
|
9039
|
-
context: parsedSnippetData.data || []
|
|
9038
|
+
context: ((_parsedSnippetData$co = parsedSnippetData.context) !== null && _parsedSnippetData$co !== void 0 && _parsedSnippetData$co.length ? parsedSnippetData.context : parsedSnippetData.data) || []
|
|
9040
9039
|
};
|
|
9041
9040
|
if (previewRouteIndex === -1) {
|
|
9042
9041
|
routes.unshift(newPreviewRoute);
|
|
@@ -9215,7 +9214,7 @@
|
|
|
9215
9214
|
}, (_storyboard$app = storyboard.app) === null || _storyboard$app === void 0 ? void 0 : _storyboard$app.id, true);
|
|
9216
9215
|
}
|
|
9217
9216
|
}
|
|
9218
|
-
// 每个 storyboard 仅注册一次custom-template
|
|
9217
|
+
// 每个 storyboard 仅注册一次 custom-template
|
|
9219
9218
|
storyboard.$$registerCustomTemplateProcessed = true;
|
|
9220
9219
|
}
|
|
9221
9220
|
}
|
|
@@ -9370,7 +9369,7 @@
|
|
|
9370
9369
|
try {
|
|
9371
9370
|
var allMagicBrickConfig = (yield InstanceApi_postSearch("_BRICK_MAGIC", {
|
|
9372
9371
|
page: 1,
|
|
9373
|
-
// TODO(Lynette): 暂时设置3000,待后台提供全量接口
|
|
9372
|
+
// TODO(Lynette): 暂时设置 3000,待后台提供全量接口
|
|
9374
9373
|
page_size: 3000,
|
|
9375
9374
|
fields: {
|
|
9376
9375
|
"*": true
|