main #34

Merged
charles merged 191 commits from main into prod 2025-11-19 16:18:39 +08:00
Showing only changes of commit ded931d01d - Show all commits

View File

@ -47,11 +47,11 @@ export default {
this.url = `${baseUrl}?redirectUrl=${redirectUrl}&signinSecurityToken=${token}`;
} else {
console.error('未能从API响应中获取到token:', response);
this.$message.error('获取登录信息失败,请重试');
this.$message.error('获取登录信息失败,请重试');
}
} catch (error) {
console.error('获取百度云Token失败:', error);
this.$message.error('网络错误,获取登录信息失败');
this.$message.error('网络错误,获取登录信息失败');
} finally {
this.loading = false;
}
@ -71,7 +71,7 @@ export default {
orderId = refundInfo.uuidList[0];
} else {
console.warn('未在 refundInfo 中找到有效的订单ID字段 (uuidList, orderId, orderIdList)');
this.$message.warning('退订信息不完整未找到订单ID');
this.$message.warning('退订信息不完整未找到订单ID');
return; // ID
}
@ -81,7 +81,7 @@ export default {
this.userid = sessionStorage.getItem('userId');
if (!this.userid) {
console.error('未获取到用户ID (sessionStorage 中缺少 userId)');
this.$message.error('用户信息获取失败,请重新登录');
this.$message.error('用户信息获取失败,请重新登录');
return;
}
@ -109,21 +109,21 @@ export default {
}
});
} else {
this.$message.error(res.msg || '退订失败,请稍后重试');
this.$message.error(res.msg || '退订失败,请稍后重试');
}
})
.catch((error) => {
// ()
console.error("调用退订接口 reqBaiduJudgePrice 失败 (网络/请求错误):", error);
// error
this.$message.error('网络请求失败或服务异常,请检查网络连接后重试');
this.$message.error('网络请求失败或服务异常,请检查网络连接后重试');
})
.finally(() => {
//
this.loading = false;
});
} else {
console.log('接收到的消息不包含有效的退款信息');
console.log('接收到的消息不包含有效的退款信息');
}
}
}