验证指定项
nextBtn(formName) { const { projectId, type, account, userName, contactWay, email, password, againPassword, } = this.ruleForm; if ( projectId && type && account && userName && contactWay && email && password && againPassword ) { // 执行校验成功的相关操作-跳到下一步 this.showFlag = false; this.stepsNum = 1; console.log() } else { // 验证 this.$refs[formName].validateField([ "projectId", "type", "account", "userName", "contactWay", "email", "password", "againPassword", "avatarPath", ]); } },