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