用途: 基于视图更新后操作 Vue.$nextTick(function () { // 视图更新了 }); 转载于:https://www.cnblogs.com/sunday123/p/10825028.html