diff --git a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue index 075817b..649bf99 100644 --- a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue +++ b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue @@ -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 { // 显示后端返回的错误信息