form-custom-test 3.0.241 → 3.0.243
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/designer.es.js +19 -3
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +4 -4
- package/dist/render.es.js +19 -3
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -26330,6 +26330,13 @@ const _sfc_main$J = {
|
|
|
26330
26330
|
this.emitFormValidateSuccess(this.formDataModel);
|
|
26331
26331
|
callback2(this.formDataModel);
|
|
26332
26332
|
} else {
|
|
26333
|
+
this.$nextTick(() => {
|
|
26334
|
+
const firstErrorElement = document.querySelector(".el-form-item.is-error");
|
|
26335
|
+
if (firstErrorElement) {
|
|
26336
|
+
console.log(firstErrorElement, "11111");
|
|
26337
|
+
firstErrorElement.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
26338
|
+
}
|
|
26339
|
+
});
|
|
26333
26340
|
callback2(this.formDataModel, this.i18nt("render.hint.validationFailed"));
|
|
26334
26341
|
}
|
|
26335
26342
|
});
|
|
@@ -26648,7 +26655,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26648
26655
|
_: 3
|
|
26649
26656
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
26650
26657
|
}
|
|
26651
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-
|
|
26658
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-7ef95586"]]);
|
|
26652
26659
|
function registerIcon(app) {
|
|
26653
26660
|
app.component("el-icon-edit", edit);
|
|
26654
26661
|
app.component("el-icon-minus", minus);
|
|
@@ -26663,13 +26670,13 @@ function registerIcon(app) {
|
|
|
26663
26670
|
if (typeof window !== "undefined") {
|
|
26664
26671
|
let loadSvg = function() {
|
|
26665
26672
|
var body = document.body;
|
|
26666
|
-
var svgDom = document.getElementById("
|
|
26673
|
+
var svgDom = document.getElementById("__svg__icons__dom__1787635195147__");
|
|
26667
26674
|
if (!svgDom) {
|
|
26668
26675
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26669
26676
|
svgDom.style.position = "absolute";
|
|
26670
26677
|
svgDom.style.width = "0";
|
|
26671
26678
|
svgDom.style.height = "0";
|
|
26672
|
-
svgDom.id = "
|
|
26679
|
+
svgDom.id = "__svg__icons__dom__1787635195147__";
|
|
26673
26680
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26674
26681
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26675
26682
|
}
|
|
@@ -65855,6 +65862,15 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
65855
65862
|
createTextVNode(toDisplayString(row.printTime), 1)
|
|
65856
65863
|
]),
|
|
65857
65864
|
_: 1
|
|
65865
|
+
}),
|
|
65866
|
+
createVNode(_component_el_table_column, {
|
|
65867
|
+
prop: "acceptDepartment",
|
|
65868
|
+
label: "\u5907\u6848\u63A5\u53D7\u90E8\u95E8"
|
|
65869
|
+
}, {
|
|
65870
|
+
default: withCtx(({ row }) => [
|
|
65871
|
+
createTextVNode(toDisplayString(row.nextDeptName), 1)
|
|
65872
|
+
]),
|
|
65873
|
+
_: 1
|
|
65858
65874
|
})
|
|
65859
65875
|
]),
|
|
65860
65876
|
_: 1
|