@ -64,6 +64,8 @@ export default {
},
data() {
return {
// 提交自定义判断
customValidate: () => {},
// 脚本注入控制的modal弹窗
defaultModalSize,
zIndex: PopupManager.nextZIndex(),
@ -150,6 +152,7 @@ export default {
getToken,
request,
async validate() {
this.customValidate()
const $elForm = this.$refs['elForm']
if ($elForm) {
await this.$refs['elForm'].validate()