vue全屏插件 screenfull

npm install sreenfull --save
import screenfull from ‘screenfull’


切换全屏
// 全屏切换 fullscreen() { screenfull.toggle(); }

你可能感兴趣的:(vue全屏插件 screenfull)