修改ping功能无需根据登录,既可用
This commit is contained in:
		
							parent
							
								
									1c2bda652a
								
							
						
					
					
						commit
						929db9ed6e
					
				
							
								
								
									
										4
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								.env
									
									
									
									
									
								
							| @ -1,8 +1,8 @@ | |||||||
| # Glob API URL | # Glob API URL | ||||||
| VITE_GLOB_API_URL=/api | VITE_GLOB_API_URL=/api | ||||||
| 
 | 
 | ||||||
| VITE_APP_API_BASE_URL=http://127.0.0.1:3002/ | # VITE_APP_API_BASE_URL=http://127.0.0.1:3002/ | ||||||
| # VITE_APP_API_BASE_URL=http://sunpaneldemo.enianteam.com | VITE_APP_API_BASE_URL=http://sunpaneldemo.enianteam.com | ||||||
| # Whether long replies are supported, which may result in higher API fees | # Whether long replies are supported, which may result in higher API fees | ||||||
| VITE_GLOB_OPEN_LONG_REPLY=false | VITE_GLOB_OPEN_LONG_REPLY=false | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -421,6 +421,10 @@ function handleAddItem(itemIconGroupId?: number) { | |||||||
|                   @click="handleSetSortStatus(itemGroupIndex, !itemGroup.sortStatus)"> |                   @click="handleSetSortStatus(itemGroupIndex, !itemGroup.sortStatus)"> | ||||||
|                   <SvgIcon class="text-white font-xl" icon="ri:drag-drop-line" /> |                   <SvgIcon class="text-white font-xl" icon="ri:drag-drop-line" /> | ||||||
|                 </span> |                 </span> | ||||||
|  |                  | ||||||
|  |               </div> | ||||||
|  |               <div class="group-buttons  delay-100 transition-opacity flex" | ||||||
|  |                 :class="itemGroup.hoverStatus ? 'opacity-100' : 'opacity-0'"> | ||||||
|                 <span class="mr-2 cursor-pointer " :title="t('panelHome.ping')" |                 <span class="mr-2 cursor-pointer " :title="t('panelHome.ping')" | ||||||
|                   @click="usePing(itemGroup, itemGroupIndex)"> |                   @click="usePing(itemGroup, itemGroupIndex)"> | ||||||
|                   <SvgIcon class="text-white font-xl" icon="mdi-wan" /> |                   <SvgIcon class="text-white font-xl" icon="mdi-wan" /> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user