@@ -142,8 +142,8 @@
// 提交表单
submitForm(formName) {
// 校验表单
- this.$refs[formName].validate((valid) => {
- if (valid) {
+ // this.$refs[formName].validate((valid) => {
+ // if (valid) {
// 校验通过 调接口提交数据
createIssuer(this.ruleForm).then((res) => {
if (res.code === 200) {
@@ -159,8 +159,8 @@
// this.$router.back();
}
});
- }
- });
+ //}
+ //});
},
// 自定义上传头像 覆盖默认上传
handleUpload({ file }) {