ui-process-h5 1.3.24 → 1.3.25

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": "ui-process-h5",
3
- "version": "1.3.24",
3
+ "version": "1.3.25",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -4119,8 +4119,10 @@ const NC = {
4119
4119
  },
4120
4120
  mounted() {
4121
4121
  this.$nextTick(() => {
4122
- const e = document.getElementsByClassName("process-warp")[0] ? document.getElementsByClassName("process-warp")[0] : document.querySelector("body");
4123
- e.append ? e.append(this.$el) : e.appendChild(this.$el);
4122
+ if (document.getElementsByClassName("process-warp")[0]) {
4123
+ const e = document.getElementsByClassName("process-warp")[0];
4124
+ e.append ? e.append(this.$el) : e.appendChild(this.$el);
4125
+ }
4124
4126
  });
4125
4127
  }
4126
4128
  };