对接访客邀请接口
This commit is contained in:
@@ -349,7 +349,7 @@ const uploadImages = async () => {
|
||||
return urls
|
||||
}
|
||||
|
||||
// ========== 表单提交 ✅ 修复:所有错误都解决 ==========
|
||||
// ========== 表单提交 ==========
|
||||
const submitForm = async () => {
|
||||
if (!houseName.value) return uni.showToast({ title: '请选择报修房屋', icon: 'none' })
|
||||
if (!projectName.value) return uni.showToast({ title: '请选择维修项目', icon: 'none' })
|
||||
@@ -406,7 +406,7 @@ const submitForm = async () => {
|
||||
uni.showToast({ title: res.msg || '提交失败', icon: 'none' })
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('提交异常:', e) // 看控制台真实错误
|
||||
// console.error('提交异常:', e)
|
||||
uni.showToast({ title: '提交失败,请检查网络或重试', icon: 'none' })
|
||||
} finally {
|
||||
uni.hideLoading()
|
||||
|
||||
Reference in New Issue
Block a user