page-schema-enginer-shun 1.0.14 → 1.0.15

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/dist/index.umd.js CHANGED
@@ -7546,6 +7546,14 @@
7546
7546
  (_a = EventHandleMap[eventKey]) == null ? void 0 : _a.call(EventHandleMap, { btnConfig, rowData });
7547
7547
  };
7548
7548
  vue.onMounted(() => {
7549
+ var _a;
7550
+ const inst = vue.getCurrentInstance();
7551
+ const comps = ((_a = inst == null ? void 0 : inst.appContext) == null ? void 0 : _a.components) || {};
7552
+ const required2 = ["ElTable", "ElTableColumn", "ElButton", "ElPagination", "ElForm", "ElDialog", "ElInput"];
7553
+ const missing = required2.filter((k) => !(k in comps));
7554
+ if (missing.length > 0) {
7555
+ elementPlus.ElMessage.error("请在宿主应用中注册 Element Plus 并引入样式");
7556
+ }
7549
7557
  });
7550
7558
  vue.provide("schemeViewData", {
7551
7559
  tableSchema,
@@ -7580,7 +7588,7 @@
7580
7588
  };
7581
7589
  }
7582
7590
  });
7583
- const schemaView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6aa05693"]]);
7591
+ const schemaView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3918b3d6"]]);
7584
7592
  let routerClient = null;
7585
7593
  function setRouterClient(client) {
7586
7594
  routerClient = client;