`Vue.nextTick(callback)`,当数据发生变化,更新后执行回调。 `Vue.$nextTick(callback)`,当dom发生变化,更新后执行的回调。 解析见:https://www.jb51.net/article/134020.htm