mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	优化WAF动作“显示网页”显示
This commit is contained in:
		@@ -3,7 +3,11 @@ Vue.component("http-firewall-actions-view", {
 | 
			
		||||
	props: ["v-actions"],
 | 
			
		||||
	template: `<div>
 | 
			
		||||
		<div v-for="action in vActions" style="margin-bottom: 0.3em">
 | 
			
		||||
			<span :class="{red: action.category == 'block', orange: action.category == 'verify', green: action.category == 'allow'}">{{action.name}} ({{action.code.toUpperCase()}})</span>
 | 
			
		||||
			<span :class="{red: action.category == 'block', orange: action.category == 'verify', green: action.category == 'allow'}">{{action.name}} ({{action.code.toUpperCase()}})
 | 
			
		||||
			  	<div v-if="action.options != null">
 | 
			
		||||
			  		<span class="grey small" v-if="action.code.toLowerCase() == 'page'">[{{action.options.status}}]</span>
 | 
			
		||||
				</div>	
 | 
			
		||||
			</span>
 | 
			
		||||
		</div>             
 | 
			
		||||
</div>`
 | 
			
		||||
})
 | 
			
		||||
		Reference in New Issue
	
	Block a user