mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-12-10 04:47:50 +00:00
优化自定义控件表单验证
This commit is contained in:
@@ -149,10 +149,7 @@ const formOptions = computed(() => {
|
||||
}
|
||||
}]
|
||||
})
|
||||
const userDto = ref({
|
||||
userName: '',
|
||||
userPassword: ''
|
||||
})
|
||||
const userDto = ref({})
|
||||
const submitForm = (form) => {
|
||||
console.info(form)
|
||||
form.validate((valid) => {
|
||||
|
||||
Reference in New Issue
Block a user