| 
					
				 | 
			
			
				@@ -1,4 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { tenderStore, userStore } from '@/store/mobx'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { tenderStore } from '@/store/mobx'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import history from '@/utils/history'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { storage } from '@/utils/util'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { observer } from 'mobx-react'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import React, { useEffect } from 'react'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 interface Authorization {
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -23,7 +25,7 @@ const Authorization: React.FC<Authorization> = ({ type, auth, children }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 获取mobx存储的权限
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const permission = tenderStore.permission[type]
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (permission[auth] === authPass || !!userStore.userInfo.isAdmin) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (permission[auth] === authPass) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return <>{children}</>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return null
 
			 |