MVVM的设计模式中,M(model) V(viewcontroller) VM(viewmodel) 1.VM层主要是用来处理业务逻辑和数据访问层 2.M层就是MVC中的M层 3.V层从VM层获取数据,然后展示数据