Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
This commit is contained in:
TIANHE
2026-01-14 23:58:21 +08:00
parent 6011ba4ce3
commit 455786103a
2 changed files with 8 additions and 2 deletions
+6 -2
View File
@@ -380,7 +380,8 @@ export default {
vip_expires_at: null,
billing_enabled: false,
vip_bypass: true,
feature_costs: {}
feature_costs: {},
recharge_telegram_url: ''
},
rechargeTelegramUrl: 'https://t.me/your_support_bot'
}
@@ -463,7 +464,6 @@ export default {
},
mounted () {
this.loadProfile()
this.loadRechargeUrl()
this.loadReferrals()
},
beforeDestroy () {
@@ -481,6 +481,10 @@ export default {
// 提取计费信息
if (res.data.billing) {
this.billing = res.data.billing
// Prefer server-provided public recharge link
if (this.billing.recharge_telegram_url) {
this.rechargeTelegramUrl = this.billing.recharge_telegram_url
}
}
this.$nextTick(() => {
this.profileForm.setFieldsValue({