fix: 修复积分不足时去充值无法跳转,修正 AI 客服回复重复
This commit is contained in:
@@ -560,7 +560,7 @@
|
||||
</el-button>
|
||||
<p v-if="pointsBalance < reviewPoints + 200" style="font-size:12px;color:#f56c6c;margin-top:6px;">
|
||||
⚠️ 积分不足,当前余额 {{ pointsBalance }},需要 {{ reviewPoints }} 积分且审查后余额需保留至少 200 积分。
|
||||
<span style="color:#a92924;cursor:pointer;text-decoration:underline;" @click="$refs.aiChat ? null : null">去充值</span>
|
||||
<span style="color:#a92924;cursor:pointer;text-decoration:underline;" @click="goRecharge">去充值</span>
|
||||
</p>
|
||||
</view>
|
||||
</view>
|
||||
@@ -1712,6 +1712,17 @@
|
||||
return html;
|
||||
},
|
||||
// ===== 积分相关 =====
|
||||
// 积分不足时跳转到「积分管理」并刷新余额与明细
|
||||
goRecharge() {
|
||||
this.menuIndex = '6';
|
||||
this.isSign = false;
|
||||
this.isSignIntro = false;
|
||||
this.isSignLog = false;
|
||||
this.isSignFlow = false;
|
||||
this.isSignTips = false;
|
||||
this.getPointsBalance();
|
||||
this.getPointsLog();
|
||||
},
|
||||
async getPointsBalance() {
|
||||
try {
|
||||
const res = await vk.callFunction({
|
||||
|
||||
Reference in New Issue
Block a user