bk-magic-vue 2.5.8-beta.3 → 2.5.8-beta.4

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.
@@ -31432,7 +31432,15 @@
31432
31432
  var messageList = [];
31433
31433
  var seed$2 = 0;
31434
31434
  var BkMessage = function BkMessage(config) {
31435
- var originConfig = _typeof(config) === 'object' ? JSON.parse(stringify$1(config)) : config;
31435
+ var formatConfig = function formatConfig() {
31436
+ if (_typeof(config) === 'object') {
31437
+ if (config.message && !config.message.hasOwnProperty('componentOptions')) {
31438
+ return JSON.parse(stringify$1(config));
31439
+ }
31440
+ }
31441
+ return config;
31442
+ };
31443
+ var originConfig = formatConfig();
31436
31444
  if (config.limit === 0) {
31437
31445
  BkMessage.batchClose();
31438
31446
  return;