1、学习Vue.nextTick( [callback, context] ) 官网看的2、学习vue中window对象https://www.v2ex.com/t/547212