fix(selfService): 自助服务添加alwaysshow判断

This commit is contained in:
woody 2025-07-15 14:01:56 +08:00
parent ee5c721e00
commit 027d9046f3
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ export default {
name: '订单退款明细', name: '订单退款明细',
url: '../../static/images/refund-icon.svg', url: '../../static/images/refund-icon.svg',
path: '/pages/refund/detail', path: '/pages/refund/detail',
id: '9', id: '10',
alwaysShow: true, alwaysShow: true,
}, },
], ],
@ -109,7 +109,7 @@ export default {
}) })
const theselfHeader = [] const theselfHeader = []
this.selfServiceList.forEach(element => { this.selfServiceList.forEach(element => {
if (element.ifshow == 0) { if (element.ifshow == 0 || element.alwaysShow) {
theselfHeader.push(element) theselfHeader.push(element)
} }
}) })