This commit is contained in:
hrx 2025-09-26 16:55:39 +08:00
parent 13e4b87a7e
commit 403160b401

View File

@ -93,10 +93,8 @@ export default {
console.log("调用 reqBaiduJudgePrice 接口返回:", res);
if (res.status) { // 假设 status 为 true 表示成功
this.$message.success('退订成功');
// 修复页面跳转 - 使用 path 而不是 url
this.$router.push({
path: '/customer/unsubscribe',
});
// 刷新浏览器
window.location.reload();
} else {
// 显示后端返回的错误信息
this.$message.error(res.msg || '退订失败,请稍后重试');