@fecp/designer 5.4.83 → 5.4.84
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +2 -17
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +2 -17
- package/package.json +1 -1
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
|
@@ -650,23 +650,8 @@ async function handleRiskSchDialog(node, data, fields, context) {
|
|
|
650
650
|
if (basic == null ? void 0 : basic.formValidate) {
|
|
651
651
|
const formComponent = (_a = context.components) == null ? void 0 : _a.form;
|
|
652
652
|
const validateMethod = (_c = (_b = formComponent == null ? void 0 : formComponent.$) == null ? void 0 : _b.exposed) == null ? void 0 : _c.validate;
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
await validateMethod();
|
|
656
|
-
} else {
|
|
657
|
-
console.error("未找到表单组件的 validate 方法");
|
|
658
|
-
return {
|
|
659
|
-
success: false,
|
|
660
|
-
message: "表单组件未正确配置或 validate 方法未暴露",
|
|
661
|
-
shouldShowError: true
|
|
662
|
-
};
|
|
663
|
-
}
|
|
664
|
-
} catch (error) {
|
|
665
|
-
return {
|
|
666
|
-
success: false,
|
|
667
|
-
message: "表单验证失败!",
|
|
668
|
-
shouldShowError: false
|
|
669
|
-
};
|
|
653
|
+
if (typeof validateMethod === "function") {
|
|
654
|
+
await validateMethod();
|
|
670
655
|
}
|
|
671
656
|
}
|
|
672
657
|
const schNo = basic.schNo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue2.js");
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = vue.ref(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue2.js");
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = vue.ref(false);
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
@@ -652,23 +652,8 @@ async function handleRiskSchDialog(node, data, fields, context) {
|
|
|
652
652
|
if (basic == null ? void 0 : basic.formValidate) {
|
|
653
653
|
const formComponent = (_a = context.components) == null ? void 0 : _a.form;
|
|
654
654
|
const validateMethod = (_c = (_b = formComponent == null ? void 0 : formComponent.$) == null ? void 0 : _b.exposed) == null ? void 0 : _c.validate;
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
await validateMethod();
|
|
658
|
-
} else {
|
|
659
|
-
console.error("未找到表单组件的 validate 方法");
|
|
660
|
-
return {
|
|
661
|
-
success: false,
|
|
662
|
-
message: "表单组件未正确配置或 validate 方法未暴露",
|
|
663
|
-
shouldShowError: true
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
} catch (error) {
|
|
667
|
-
return {
|
|
668
|
-
success: false,
|
|
669
|
-
message: "表单验证失败!",
|
|
670
|
-
shouldShowError: false
|
|
671
|
-
};
|
|
655
|
+
if (typeof validateMethod === "function") {
|
|
656
|
+
await validateMethod();
|
|
672
657
|
}
|
|
673
658
|
}
|
|
674
659
|
const schNo = basic.schNo;
|