vista de la ventana

window.onresize = () => { 
        return (() => { 
          dejar que currentWidth = (document.documentElement.clientWidth || window.innerWidth) 
          esto. store.commit $ ( 'SETSCREENWIDTH', currentWidth) 
        }) () 
      }

  

Supongo que te gusta

Origin www.cnblogs.com/alantao/p/12464542.html
Recomendado
Clasificación