update
This commit is contained in:
parent
551afe9c3f
commit
b60a73faec
@ -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 {
|
||||
// 显示后端返回的错误信息
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user