Commit 38f67391 authored by caobo's avatar caobo

新增表单验证格式

parent 9439301b
......@@ -186,7 +186,6 @@ export default class AddTask extends Vue {
const form = this.$data.addForm;
this.$refs.ruleForm.validate((valid: any) => {
if (valid) {
// console.log('验证通过了');
// 提交
// this.createPermission(form).then((data: any) => {
// this.closeDialog();
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment