Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6247 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6247 Rev 6248
Línea 25... Línea 25...
25
 
25
 
26
  const handleAjaxRequest = async () => {
26
  const handleAjaxRequest = async () => {
27
    try {
27
    try {
28
      const { data } = await axios.get(url)
28
      const { data } = await axios.get(url)
29
      if (data.success) {
29
      if (data.success) {
30
        setTimeout(() => window.open(data.data, 'backend'), 3000)
30
        window.open(data.data, 'backend')
31
      }
31
      }
32
    } catch (error) {
32
    } catch (error) {
33
      console.log('>>: error > ', error)
33
      console.log('>>: error > ', error)
34
    }
34
    }