mooho-base-admin-plus 2.10.6 → 2.10.7
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
|
@@ -233,15 +233,20 @@
|
|
|
233
233
|
// 执行结果
|
|
234
234
|
async action(outcome) {
|
|
235
235
|
let isOK;
|
|
236
|
-
if (this.isCustom && typeof this.$refs.customComponent.actionValidation === 'function') {
|
|
237
|
-
isOK = await this.$refs.customComponent.actionValidation(outcome);
|
|
238
236
|
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
if (outcome.ignoreValidation == true) {
|
|
238
|
+
isOK = true;
|
|
239
|
+
} else {
|
|
240
|
+
if (this.isCustom && typeof this.$refs.customComponent.actionValidation === 'function') {
|
|
241
|
+
isOK = await this.$refs.customComponent.actionValidation(outcome);
|
|
242
|
+
|
|
243
|
+
if (!isOK) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
241
246
|
}
|
|
242
|
-
}
|
|
243
247
|
|
|
244
|
-
|
|
248
|
+
isOK = await this.form.validate();
|
|
249
|
+
}
|
|
245
250
|
|
|
246
251
|
if (!isOK) {
|
|
247
252
|
this.error('Front_Msg_Form_Validate_Fail');
|