|
@@ -315,7 +315,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var uploadData = response.data;
|
|
var uploadData = response.data;
|
|
|
-
|
|
|
|
|
|
|
+ console.log('获取上传凭证成功:', uploadData);
|
|
|
// 确保必要字段存在
|
|
// 确保必要字段存在
|
|
|
if (!uploadData.uploadType || !uploadData.token) {
|
|
if (!uploadData.uploadType || !uploadData.token) {
|
|
|
throw new Error('缺少必要的上传参数');
|
|
throw new Error('缺少必要的上传参数');
|