refactor: 移除表单提交中的调试日志

This commit is contained in:
wangqiao
2025-08-30 11:38:53 +08:00
parent 048dd1fe65
commit f7784e8305

View File

@ -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) {
// 弹窗提示