|  |  |  | @ -47,13 +47,24 @@ const showMenu = () => {@@ -47,13 +47,24 @@ const showMenu = () => { | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | const copyArchive = () => { | 
			
		
	
		
			
				
					|  |  |  |  |     if (navigator.clipboard && window.isSecureContext) { | 
			
		
	
		
			
				
					|  |  |  |  |         navigator.clipboard.writeText(archive.value).then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             commit('set_sys_info', { msg: t('copyArchive.1'), type: 'win' }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, () => { | 
			
		
	
		
			
				
					|  |  |  |  |             showMenu(); | 
			
		
	
		
			
				
					|  |  |  |  |         }).catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             commit('set_sys_info', { msg: t('copyArchive.2'), type: 'waring' }) | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     } else { | 
			
		
	
		
			
				
					|  |  |  |  |         const textField = document.createElement("textarea"); | 
			
		
	
		
			
				
					|  |  |  |  |         textField.innerText = archive.value; | 
			
		
	
		
			
				
					|  |  |  |  |         document.body.appendChild(textField); | 
			
		
	
		
			
				
					|  |  |  |  |         textField.select(); | 
			
		
	
		
			
				
					|  |  |  |  |         document.execCommand("copy"); | 
			
		
	
		
			
				
					|  |  |  |  |         textField.remove(); | 
			
		
	
		
			
				
					|  |  |  |  |         commit('set_sys_info', { msg: t('copyArchive.1'), type: 'win' }) | 
			
		
	
		
			
				
					|  |  |  |  |         showMenu(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | const pasteArchive = () => { | 
			
		
	
		
			
				
					|  |  |  |  |     navigator.clipboard.readText().then((text) => { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |