二手车交易,声明的添加,测试的优化

This commit is contained in:
2025-03-12 16:06:27 +08:00
parent f8ad6a109b
commit 5754e05a7f
8 changed files with 188 additions and 18 deletions

View File

@ -87,7 +87,11 @@ export default {
const formData = new FormData();
formData.append("file", file.file);
let res = await uploadImage(formData);
console.log("res", res)
/* try {
console.log("res", res)
} catch (e) {
console.log("e", e)
}*/
// 为文件添加唯一标识符
file.uid = Date.now(); // 使用时间戳作为唯一标识符
if (this.text == '行驶证照片') {