refactor: 移除表单提交中的调试日志
This commit is contained in:
@ -83,15 +83,11 @@
|
||||
const loading = ref(false)
|
||||
const formRef = ref()
|
||||
const handleSubmit = () => {
|
||||
console.log(form)
|
||||
|
||||
formRef.value.validate((valid: boolean, val: any) => {
|
||||
console.log('00000----', val)
|
||||
if (valid) {
|
||||
loading.value = true
|
||||
create(form)
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
const { code } = res
|
||||
if (code === 0) {
|
||||
// 弹窗提示
|
||||
|
||||
Reference in New Issue
Block a user