rollback^2
xy 9 months ago
parent 1223a4d28f
commit c9873209ed

@ -64,6 +64,8 @@ export default {
}, },
data() { data() {
return { return {
//
customValidate: () => {},
// modal // modal
defaultModalSize, defaultModalSize,
zIndex: PopupManager.nextZIndex(), zIndex: PopupManager.nextZIndex(),
@ -150,6 +152,7 @@ export default {
getToken, getToken,
request, request,
async validate() { async validate() {
this.customValidate()
const $elForm = this.$refs['elForm'] const $elForm = this.$refs['elForm']
if ($elForm) { if ($elForm) {
await this.$refs['elForm'].validate() await this.$refs['elForm'].validate()

Loading…
Cancel
Save