this.$refs.main1.scrollTop =this.$refs.main1.scrollHeight; 转载于:https://www.cnblogs.com/yccg990118/p/11188593.html