From b60a73faec094761cd14d0b0be88d06662dc502f Mon Sep 17 00:00:00 2001 From: ping <1017253325@qq.com> Date: Fri, 26 Sep 2025 11:08:58 +0800 Subject: [PATCH] update --- .../customer/unsubscribe/BaiduNetdisk.vue/index.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 { // 显示后端返回的错误信息