tenghui-ui 2.2.3 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenghui-ui",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "vue 2x, tenghui-ui",
5
5
  "files": [
6
6
  "dist",
@@ -229,7 +229,7 @@ export default {
229
229
  waitRenderItem() {
230
230
  return new Promise((resolve) => {
231
231
  clearTimeout(this.waitTimeout);
232
- const itemEls = this.$refs.Search.querySelectorAll('.ui-form__item:not([class*=prepend] .ui-form__item)');
232
+ const itemEls = this.$refs.Search.parentElement.querySelectorAll('.ui-search > .ui-form__item:not([class*=prepend] .ui-form__item)');
233
233
  for (let i = 0; i < itemEls.length; i++) {
234
234
  const el = itemEls[i];
235
235
  if (el.getBoundingClientRect().right > 0) {