二手车交易,声明的添加,测试的优化
This commit is contained in:
@ -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 == '行驶证照片') {
|
||||
|
Reference in New Issue
Block a user