main #34

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

View File

@ -94,8 +94,16 @@ export default {
if (res.status) { // 假设 status 为 true 表示成功
this.$message.success('退订成功');
// 修复页面跳转 - 使用 path 而不是 url
this.$router.push({
path: '/customer/unsubscribe/BaiduNetdisk',
// this.$router.push({
// path: '/customer/unsubscribe/BaiduNetdisk',
// });
this.loading = true; // 可选:显示加载动画
this.$nextTick(() => { // 保证 iframe 重新渲染
this.url = ''; // 先清空
this.$nextTick(() => {
this.url = `${baseUrl}?redirectUrl=${redirectUrl}&signinSecurityToken=${encodeURIComponent(this.userToken)}`;
this.loading = false;
});
});
} else {
// 显示后端返回的错误信息