fix(selfService): 自助服务添加alwaysshow判断
This commit is contained in:
		
							parent
							
								
									444fba868e
								
							
						
					
					
						commit
						5b0fc62852
					
				| 
						 | 
				
			
			@ -65,7 +65,7 @@ export default {
 | 
			
		|||
          name: '订单退款明细',
 | 
			
		||||
          url: '../../static/images/refund-icon.svg',
 | 
			
		||||
          path: '/pages/refund/detail',
 | 
			
		||||
          id: '9',
 | 
			
		||||
          id: '10',
 | 
			
		||||
          alwaysShow: true,
 | 
			
		||||
        },
 | 
			
		||||
      ],
 | 
			
		||||
| 
						 | 
				
			
			@ -109,7 +109,7 @@ export default {
 | 
			
		|||
        })
 | 
			
		||||
        const theselfHeader = []
 | 
			
		||||
        this.selfServiceList.forEach(element => {
 | 
			
		||||
          if (element.ifshow == 0) {
 | 
			
		||||
          if (element.ifshow == 0 || element.alwaysShow) {
 | 
			
		||||
            theselfHeader.push(element)
 | 
			
		||||
          }
 | 
			
		||||
        })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue