bk-magic-vue 2.5.9-beta.39 → 2.5.9-beta.40

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.
@@ -28856,6 +28856,7 @@
28856
28856
  boundary: 'window',
28857
28857
  content: '',
28858
28858
  allowHTML: true,
28859
+ disabledHtmlStrAsQuery: false,
28859
28860
  extCls: ''
28860
28861
  };
28861
28862
  var validPlacements$2 = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];
@@ -28889,7 +28890,7 @@
28889
28890
  options.content = selector.$el;
28890
28891
  } else if (typeof selector === 'string') {
28891
28892
  try {
28892
- var element = document.querySelector(selector);
28893
+ var element = options.disabledHtmlStrAsQuery ? selector : document.querySelector(selector);
28893
28894
  if (element) {
28894
28895
  options.content = element;
28895
28896
  }