Commit 2b45f1cf by Sweet Zhang

申请加盟按钮的显示隐藏

parent 6cdd59ac
......@@ -239,6 +239,7 @@
id: '01',
categoryName: '团队',
children: [{
key:'applyFranchises',
title: '申请加盟',
icon: 'icon-hezuo',
link: '/myPackageA/applyFranchise/applyFranchise?',
......@@ -430,7 +431,7 @@
const team = this.mainMenuLists.find(item => item.id === '01');
if (!team) return;
const applyItem = team.children.find(child => child.key === 'applyFranchise');
const applyItem = team.children.find(child => child.key == 'applyFranchises');
if (!applyItem) return;
// 3. 更新标题和显示状态
......@@ -497,7 +498,7 @@
for (let key in this.partnerStatistic) {
if (key != 'peopleNum' && key != 'reachPeopleNum' && key != 'totalPeopleNum') {
if (key) {
this.partnerStatistic[key] = Number(this.partnerStatistic[key].toFixed(2))
this.partnerStatistic[key] = this.partnerStatistic[key] ? Number(this.partnerStatistic[key].toFixed(2)) : 0
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment