@byteluck-fe/model-driven-engine 2.22.1-beta.3 → 2.22.2-beta.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.
@@ -386,8 +386,8 @@ var Engine = /*#__PURE__*/ function(Watcher) {
386
386
  _define_property(_assert_this_initialized(_this), "createControlInstance", _this.createInstance);
387
387
  _this.$options = Object.freeze(props);
388
388
  var _this_$options = _this.$options, _this_$options_autoMount = _this_$options.autoMount, autoMount = _this_$options_autoMount === void 0 ? true : _this_$options_autoMount, schema = _this_$options.schema, beforeCreateInstance = _this_$options.beforeCreateInstance, externalParams = _this_$options.externalParams, _this_$options_language = _this_$options.// fieldModel,
389
- language, language = _this_$options_language === void 0 ? DEFAULT_LOCALE : _this_$options_language, _this_$options_debug = _this_$options.debug, debug = _this_$options_debug === void 0 ? false : _this_$options_debug;
390
- RulesMessage.setLocale(language);
389
+ language, language = _this_$options_language === void 0 ? DEFAULT_LOCALE : _this_$options_language, _this_$options_debug = _this_$options.debug, debug = _this_$options_debug === void 0 ? false : _this_$options_debug, messagesI18n = _this_$options.messagesI18n;
390
+ RulesMessage.setLocale(language, messagesI18n);
391
391
  _this.debug = debug;
392
392
  _this.runtime = new Runtime({
393
393
  schema: schema,