fix: 只要任意一张实名了就可以不强制跳
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 59s

This commit is contained in:
luo
2026-07-29 15:48:22 +08:00
parent 34ca1c5eca
commit 6c3cf15165
7 changed files with 48 additions and 20 deletions

View File

@@ -360,12 +360,12 @@
const startHomepageRenewal = () => {
const packageId = Number(deviceInfo.currentPackageId || 0);
if (!packageId) {
const packageName = String(deviceInfo.packageName || '').trim();
if (!packageId || !packageName || packageName === '-') {
uni.showToast({ title: '当前资产暂无可续费套餐', icon: 'none' });
return;
}
const packageName = deviceInfo.packageName === '-' ? '' : deviceInfo.packageName;
renewalPopupRef.value?.open([packageId], [packageName]);
};